Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

col

0.1.0 • Public • Published

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'

Install

npm i col

DownloadsWeekly Downloads

45

Version

0.1.0

License

none

Last publish

Collaborators

  • avatar