colorful if a terminal tool for colors
npm install colorful---------------------
color as function:
``javascript`
var color = require('colorful').color
color.red('hello')
color.underline('hello')
color as human:
`javascript`
require('colorful').colorful()
'hello'.to.red.color
'hello'.to.underline.bold.red.color
color and style supports:
- black black_bgred
- red_bggreen
- green_bgyellow
- yellow_bgblue
- blue_bgmagenta
- magenta_bgcyan
- cyan_bgwhite
- white_bggray
- grey gray_bg grey_bg
- bold
- italic
- underline
- blink
- inverse
- strike
and detect is color supported:
`javascript``
require('colorful').color.isSupported
Colorful and nested logging support.