List of libraries to build cool NodeJS command lines apps

1. Chalk Chalk is styling for the command line - add cool color and stuff. 1 2 3 4 5 6 7 8 9 10 11 const chalk = require('chalk'); const log = console.log; log(chalk.blue('Hello') + ' World' + chalk.red('!')); log(chalk.green( 'I am a green line ' + chalk.blue.underline.bold('with a blue substring') + ' that becomes green again!' )); 2. Clear Clear the terminal screen if possible...

July 30, 2019 · 3 min · YS