colors.js - get color and style in your node.js console like what
varsys=require('sys');varcolors=require('./colors');sys.puts('hello'.green);// outputs green textsys.puts('i like cake and pies'.underline.red)// outputs red underlined textsys.puts('inverse the color'.inverse);// inverses the colorsys.puts('OMG Rainbows!'.rainbow);// rainbow (ignores spaces)
colors and styles!
- bold
- italic
- underline
- inverse
- yellow
- cyan
- white
- magenta
- green
- red
- grey
- blue