node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »


col Build Status

Tiny simple colour logger

methods are:

  • col.error(msg) - red
  • col.warn(msg) - yellow
  • - 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().


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