consoler

a smart console logger and debugger for your litter scripts

another smart and colorful console logger

$ npm install consoler
var consoler = require('consoler');
 
// check out in your console 
consoler.log('success','hey dude, well done !');
 
// or use default tag 
consoler.log('hey dude, well done !');
 
// or use shortcuts 
consoler.success('success!');
consoler.error('fail!');
consoler.loading('wait a moment!');
$ git clone https://github.com/turingou/consoler.git
$ cd consoler/demo
$ node demo.js

text align defalut length is 8, try to change edge length like this:

consoler.align(20);

feel free to add your labels and colors in ./colors.json or add your event and the color

var consoler = require('consoler');
consoler.add('alldone','green');
$ git clone https://github.com/turingou/consoler.git
$ cd consoler
$ npm install 
$ npm test