ccolors - get color and style in your node.js console
Installation
npm install ccolors
colors and styles!
- bold
- italic
- underline
- inverse
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
- blackBg
- redBg
- greenBg
- yellowBg
- blueBg
- magentaBg
- cyanBg
- whiteBg
- blackHi
- redHi
- greenHi
- yellowHi
- blueHi
- magentaHi
- cyanHi
- whiteHi
- blackBgHi
- redBgHi
- greenBgHi
- yellowBgHi
- blueBgHi
- magentaBgHi
- cyanBgHi
- whiteBgHi
- blackHiBg
- redHiBg
- greenHiBg
- yellowHiBg
- blueHiBg
- magentaHiBg
- cyanHiBg
- whiteHiBg
- rainbow
- zebra
Usage
var ccolors = ;console; // outputs green textconsole // outputs red underlined textconsole; // inverses the colorconsole; // rainbow (ignores spaces)
Shamelessly copied from https://github.com/marak/colors.js/