colsole
v0.0.2
Published
Yet another colored console
Downloads
19
Maintainers
Readme
Yet another colored console
Installation
sudo npm install --save colsole
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
Copyright (c) 2014 Ruslan Bredikhin