cli-color-keywords

My polished module

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
cli-color-keywords
000.0.18 years ago8 years agoMinified + gzip package size for cli-color-keywords in KB

Readme

cli-color-keywords
!NPM versionnpm-imagenpm-url !build statustravis-imagetravis-url !Test coveragecoveralls-imagecoveralls-url
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