0.0.3 • Published 8 years ago

node-log.js v0.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

node-log.js

node npm npm GitHub tag GitHub release GitHub license

Get colors in your node.js console

screenshot

Installation

npm i node-log --save

Usage

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

APIUtility
log.normaloutput with white color
log.infooutput with cyan color
log.warnoutput with yellow color
log.successoutput with green color
log.erroroutput with red color
log.customwrapper for log.normal

Example

npm run example

License

MIT