How to set node.js console font color ?
The chalk module is can be used to customize node console with colored text. By using it, one can change console look using features of it like bold the text, making underlines, highlighting the background color of a text, etc.
Command to install chalk:
npm install chalk
Coloring console text with chalk.color: Text color can be changed by using the chalk.color method like chalk.black, chalk.red, etc.
Coloring background of console text with chalk.bgcolor: Text background color can be changed by using chalk.bgcolor method like chalk.bgBlack, chalk.bgRed, etc.
Modifying console text appearance: Text style can be altered by using the methods like chalk.bold, chalk.italic, etc.