cli-log

0.0.8 • Public • Published

cli-log

This project provides common log methods for your command line app.

Install

npm -g install cli-log

How to use:

var  log = require("cli-log").init({ prefix: '[app]', prefixColor: 'cyan', prefixBgColor: 'bgCyan' });
 
log.log( "hello" );
log.warn( "hello" );
log.oops( "hello" );
log.error( "hello" );

For more color options check out cli-color.

Readme

Keywords

none

Package Sidebar

Install

npm i cli-log

Weekly Downloads

2

Version

0.0.8

License

BSD

Last publish

Collaborators

  • eduardolundgren