Neolithic Programming Machine
Miss any of our Open RFC calls?Watch the recordings here! »

chalk-log

1.2.0 • Public • Published

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

Keywords

none

Install

npm i chalk-log

DownloadsWeekly Downloads

39

Version

1.2.0

License

ISC

Last publish

Collaborators

  • avatar