colorce
Terminal highlighting as simple as it should be.
Install
$ npm install colorce
Usage
Simply import and invoke the module at the top of your main script.
; console; // Already works!
You can also customize the looks by using known packages such as chalk or colors.js
const chalk = ;const colors = ; log: chalkbold info: chalkblue warn: chalkwhitebgYellow error: colorsred success: colorsgreenunderline;
If you want to disable color you can pass the following arguments to your application.
$ node appjs --no-color