terminal-colors

0.1.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i terminal-colors

Weekly Downloads

210

Version

0.1.4

License

MIT

Last publish

Collaborators

  • tinganho