node-log.js
v0.0.3
Published
console.log in nodejs with colors
Readme
node-log.js
Get colors in your node.js console
Installation
npm i node-log --saveUsage
const log = require('node-log.js');
const testStr = 'hello world!'
log.normal(testStr);
log.info(testStr);
log.warn(testStr);
log.success(testStr);
log.error(testStr);
log.custom(testStr);API
| API | Utility | |:-:|:-:| | log.normal | output with white color | | log.info | output with cyan color | | log.warn | output with yellow color | | log.success | output with green color | | log.error | output with red color | | log.custom | wrapper for log.normal |
Example
npm run exampleLicense
MIT

