terminal-colors
Terminal colors made easy
Last updated 5 years ago by tinganho .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install terminal-colors 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.4                                ...           latest (5 years ago)

5 Versions

  • 0.1.4                                ...           5 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |