0.0.2 • Published 10 years ago

colsole v0.0.2

Weekly downloads
25
License
MIT
Repository
github
Last release
10 years ago

Yet another colored console

Build Status NPM version

Installation

sudo npm install --save colsole

NPM

Usage

var console = require('colsole')();

console.log('I will be in white.');
console.info('And I will be in green.');
console.warn('Yellow is good enough for me...');
console.error('And for me it is red-only!');

Configuration

var console = require('colsole')({
  log: 'blue'
});

console.log('Now I will be in blue.');

Dependencies

Contributions

  • are welcome;
  • should be tested;
  • should follow the same coding style.

License

The MIT License

Copyright (c) 2014 Ruslan Bredikhin