npm.devtool.tech
👏 You can access colorful package with using colorful variable in browser devtools!
colorful if a terminal tool for colors

code/package/bundle size

0B
publish
0B
install
0B
bundle minified
0B
bundle gzipped

Colorful support for terminal


Color

color as function:

var color = require('colorful').color
color.red('hello')
color.underline('hello')

color as human:

require('colorful').colorful()
'hello'.to.red.color
'hello'.to.underline.bold.red.color

color and style supports:

  • black black_bg
  • red red_bg
  • green green_bg
  • yellow yellow_bg
  • blue blue_bg
  • magenta magenta_bg
  • cyan cyan_bg
  • white white_bg
  • gray grey gray_bg grey_bg
  • bold
  • italic
  • underline
  • blink
  • inverse
  • strike

and detect is color supported:

require('colorful').color.isSupported

Logging

Colorful and nested logging support.

🔎Explore Package🔎CDN Script

Score

Popularity20/100
Quality57/100
Maintenance17/100

DevDependencies