npm.io
1.2.0 • Published 11 years ago

chalk-log

Licence
ISC
Version
1.2.0
Deps
1
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

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