col

Tiny simple colour logger

npm install col
18 downloads in the last week
46 downloads in the last month

col Build Status

Tiny simple colour logger

methods are:

  • col.error(msg) - red
  • col.warn(msg) - yellow
  • col.info(msg) - indented
  • col.success(msg) - just app name in green

Multiple arguments will be joined into a single message string as you would with a normal console.log().

e.g.

col.error('foo', 'bar', 'baz');
// outputs: 'MyApp ERROR: foo bar baz'
npm loves you