cli-color-keywords

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i cli-color-keywords

Weekly Downloads

225

Version

0.0.1

License

MIT

Last publish

Collaborators

  • natecavanaugh