terminal-colors

Terminal colors made easy

terminal-colors

Utilize more terminal colors. Both bright and normal colors http://en.wikipedia.org/wiki/ANSI_escape_code#Colors.

Install

npm install terminal-colors
  • bold
  • italic
  • underline
  • yellow
  • lightYellow
  • cyan
  • lightCyan
  • white
  • lightWhite
  • magenta
  • lightMagenta
  • green
  • lightGreen
  • red
  • lightRed
  • grey
  • lightGrey
  • blue
  • lightBlue

Usage

require('terminal-colors');
 
 
console.log('hello'.green); // outputs green text
console.log('i like cake and pies'.underline.red) // outputs red underlined text
console.log('hello world'.lightGreen) // outputs light green