1
# colors.js - get color and style in your node.js console ( and browser ) like what
3
<img src="http://i.imgur.com/goJdO.png" border = "0"/>
31
var colors = require('./colors');
33
console.log('hello'.green); // outputs green text
34
console.log('i like cake and pies'.underline.red) // outputs red underlined text
35
console.log('inverse the color'.inverse); // inverses the color
36
console.log('OMG Rainbows!'.rainbow); // rainbow (ignores spaces)
39
# Creating Custom themes
43
var colors = require('colors');
59
console.log("this is an error".error);
61
// outputs yellow text
62
console.log("this is a warning".warn);
69
Alexis Sellier (cloudhead)
70
mmalecki (Maciej Małecki)
72
morganrallen (Morgan Allen)
73
JustinCampbell (Justin Campbell)
77
#### , Marak Squires , Justin Campbell, Dustin Diaz (@ded)