#colorado
ridiculously simple console string styling in nodejs.
aside: named after a cool state
###Install
npm install colorado
###Usage
var colorado = require('colorado');
colorado
is a function that takes any number of arguments.
Pass in a string to add plain text:
var boring = colorado('blah');
console.log(boring);
Pass it an array of styles and it will turn them into ANSI codes:
var dangerous = colorado(['red','bold','blink'], 'danger!');
console.log(dangerous);
If you already know the code number for a style, pass it as a number:
var justAsDangerous = colorado([31,1,5], 'danger!');
console.log(justAsDangerous);
Easily inline styles by passing several arguments:
var cuteStory = colorado(
'I was reading all this boring text and then ',
['bold', 'yellow', 'redBG'],
'BAM!',
[22,36,49], ' everything looked cyan to me...'
);
console.log(cuteStory);