chalk-stderr
Chalk for stderr
Last updated 2 years ago by langpavel .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install chalk-stderr 
SYNC missed versions from official npm registry.

chalk-stderr

Chalk for stderr

Install

$ npm install chalk supports-color chalk-stderr

or with yarn

$ yarn add chalk supports-color chalk-stderr

Usage

See chalk

const cherr = require('chalk-stderr');

// Everything else is same

How This Works

Everything else is delegated to peer dependencies as you can see:

const supportsColor = require('supports-color');
const Chalk = require('chalk').constructor;
module.exports = new Chalk({ level: supportsColor.stderr ? supportsColor.stderr.level : 0 });

That's all!

This is all what this package contains.

Current Tags

  • 1.0.2                                ...           latest (2 years ago)

3 Versions

  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |