chalk-log

v1.0.6
console logging witk chalk

##chalk-log

example

Is basically a chalk wrapper. For cli logging in Node.js

npm install chalk-log --save
var log = require('chalk-log');

log.log('This is a normal console.log with added spaces');
log.note('This will have WHITE BACKGROUND');

log.error('This will have RED BACKGROUND');
log.progress('This will have BLUE BACKGROUND');

log.warn('This will have YELLOW BACKGROUND');
log.ok('This will have GREEN BACKGROUND');

// clear 1 line
log.clear();

// clear 3 line
log.clear(3);

Metadata

  • ISC
  • Whatever
  • juji
  • released 8/20/2014

Downloads

Maintainers