Package Exports
- kolorist
- kolorist/package.json
Readme
kolorist
Tiny library to put colors into stdin/stdout 🎉

Usage
npm install --save-dev koloristimport { red, cyan } from 'kolorist';
console.log(red(`Error: something failed in ${cyan('my-file.js')}.`));You can also disable colors globally via the following environment variables:
NODE_DISABLE_COLORSTERM=dumbFORCE_COLOR=0
On top of that you can disable colors right from node:
import { options, red } from 'kolorist';
options.enabled = false;
console.log(red('foo'));
// Logs a string without colorsLicense
MIT, see the license file.