simple-colors

0.1.0 • Public • Published

simple-colors

Add colors to your console output

Installation

npm install simple-colors

Usage

require('simple-colors')

console.log('This text will be blue!'.blue())
console.log('White and bold'.white().bold())

Supported styles and colors

Colors available:

  • white
  • grey
  • red
  • green
  • cyan
  • black
  • magenta
  • blue
  • yellow

Styles available:

  • bold
  • italic
  • strikethrough
  • inverse
  • underline

Notes

  • The module only works in CLI (console) mode

Release History

  • 0.1.0 Initial release

Readme

Keywords

Package Sidebar

Install

npm i simple-colors

Weekly Downloads

5

Version

0.1.0

License

MIT

Last publish

Collaborators

  • jgebczak