Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

cli-color-keywords

Package Overview
Dependencies
2
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

cli-color-keywords

My polished module

    0.0.1latest
    GitHub

Version published
Maintainers
1
Weekly downloads
648
increased by8.54%

Weekly downloads

Readme

Source

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

FAQs

Last updated on 17 Aug 2015

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc