0.0.1 • Published 9 years ago

cli-color-keywords v0.0.1

Weekly downloads
1,051
License
MIT
Repository
github
Last release
9 years ago

cli-color-keywords

NPM version build status Test coverage

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