boxen
whitep4nth3r
boxen | whitep4nth3r | |
---|---|---|
3 | 2 | |
1,475 | 13 | |
- | - | |
3.1 | 7.2 | |
10 days ago | 8 days ago | |
JavaScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
boxen
-
Interactive Node JS command line
boxen
-
Build a business card CLI tool
There are many tools available to help with styling your command line output. For my business card, I used a combination of boxen to draw the box around the content, and chalk to power the font styles and colours. I'll leave this part up to you, but you can view the code on GitHub to see how I did it. Be aware that if you want to use ES6 imports in Node, you'll need to update your index.js file extension to .mjs, and edit the package.json "bin" section accordingly.
-
Build a CLI withΒ Node.js
Your CLI is complete now! One thing more that you can do is to decorate the output and errors with boxes and colors, we can do that using boxen and chalk.
whitep4nth3r
-
Build a business card CLI tool
There are many tools available to help with styling your command line output. For my business card, I used a combination of boxen to draw the box around the content, and chalk to power the font styles and colours. I'll leave this part up to you, but you can view the code on GitHub to see how I did it. Be aware that if you want to use ES6 imports in Node, you'll need to update your index.js file extension to .mjs, and edit the package.json "bin" section accordingly.
-
How to use GitHub actions and Contentful webhooks to show your latest blog posts on your GitHub profile README
If you want to jump straight to the code, view my GitHub actions workflow on GitHub.
What are some alternatives?
chalk - π Terminal string styling done right
blog-post-workflow - Show your latest blog posts from any sources or StackOverflow activity or Youtube Videos on your GitHub profile/project readme automatically using the RSS feed
columnify - Create text-based columns suitable for console output. Supports cell wrapping.
wait-action - π€ Very, very simple (and small) action to sleep for an amount of time β 10s, 2m, etc.
Inquirer.js - A collection of common interactive command line user interfaces.
cli-columns - Columnated lists for the CLI. Unicode and ANSI safe.
cross-env
sparkly - Generate sparklines ββββ ββ
ora - Elegant terminal spinner
string-width - Get the visual width of a string - the number of columns required to display it
drawille - Drawing in terminal with unicode braille characters
update-notifier - Update notifications for your CLI app