- A fork to keep and maintain the colors.js project as it seems original colors.js maintainer @Marak (Marak Squires), has decided to move on from node.js ecosystem.

colors.js - get color and style in your node.js console ( and browser ) like what
Installation
npm install colors
colors and styles!
- bold
- italic
- underline
- inverse
- yellow
- cyan
- white
- magenta
- green
- red
- grey
- blue
- rainbow
- zebra
- random
Usage
var colors = require('./colors');
console.log('hello'.green);
console.log('i like cake and pies'.underline.red)
console.log('inverse the color'.inverse);
console.log('OMG Rainbows!'.rainbow);
Creating Custom themes
var colors = require('colors');
colors.setTheme({
silly: 'rainbow',
input: 'grey',
verbose: 'cyan',
prompt: 'grey',
info: 'green',
data: 'grey',
help: 'cyan',
warn: 'yellow',
debug: 'blue',
error: 'red'
});
console.log("this is an error".error);
console.log("this is a warning".warn);
Contributors
Marak (Marak Squires)
ded (Dustin Diaz)
JustinCampbell (Justin Campbell)
Alexis Sellier (cloudhead)
mmalecki (Maciej Małecki)
nicoreed (Nico Reed)
morganrallen (Morgan Allen)