terminal-colors

Terminal colors made easy


Keywords
terminal, colors
License
MIT
Install
npm install terminal-colors@0.1.4

Documentation

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

colors and styles!

  • 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