Socket
Socket
Sign inDemoInstall

cli-color-keywords

Package Overview
Dependencies
8
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cli-color-keywords

My polished module


Version published
Weekly downloads
273
increased by37.19%
Maintainers
1
Install size
869 kB
Created
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 for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • 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