Shaddock Heath 13709379dd updated jake and fs-extra to flatten out with the new npm. Also created a package.json and npm-shrinkwrap.json to lock down the version 10 years ago
..
index.js 13709379dd updated jake and fs-extra to flatten out with the new npm. Also created a package.json and npm-shrinkwrap.json to lock down the version 10 years ago
package.json 13709379dd updated jake and fs-extra to flatten out with the new npm. Also created a package.json and npm-shrinkwrap.json to lock down the version 10 years ago
readme.md 13709379dd updated jake and fs-extra to flatten out with the new npm. Also created a package.json and npm-shrinkwrap.json to lock down the version 10 years ago

readme.md

has-color Build Status

Detect whether a terminal supports color.

Used in the terminal color module chalk.

Install

$ npm install --save has-color

Usage

var hasColor = require('has-color');

if (hasColor) {
	console.log('Terminal supports color.');
}

It obeys the --color and --no-color CLI flags.

License

MIT © Sindre Sorhus