cli-color-keywords
v0.0.1
Published
My polished module
Downloads
1,208
Readme
cli-color-keywords
This module mainly only exists because I got tired of re-adding my custom keywords to chalk.
The exported module is a function that creates a chalk object for you with the following keywords added: bgError
, bgHelp
, bgWarn
, error
, help
, subtle
, warn
, and ignored
.
Install
$ npm install --save cli-color-keywords
Usage
var colors = require('cli-color-keywords')();
colors.subtle('unicorns');
API
cliColorKeywords([options])
options
Type: object
Basically, anything you can pass to the chalk.constructor
is accepted.
License
MIT © Nate Cavanaugh