The color of an echo

There several modules that uses ANSI escape codes to alter color (and style) of characters that are outputted to console. For example, you can use chalk. Here is how your code may looks like:

var chalk = require('chalk');
// Output a line of text in green
console.log(chalk.green('Follow the white rabbit'));

Leave a Comment