0.0.1 • Published 9 years ago
cli-color-keywords v0.0.1
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
0.0.1
9 years ago