1.2.0 • Published 9 years ago

chalk-log v1.2.0

Weekly downloads
9
License
ISC
Repository
-
Last release
9 years ago

##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);