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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i chalk-log

    Weekly Downloads

    6

    Version

    1.2.0

    License

    ISC

    Last publish

    Collaborators

    • jujiyangasli