José Quiñones Flores 4564da0130 Added Laravel project and removed sensitive data | 4 лет назад | |
---|---|---|
.. | ||
index.js | 4 лет назад | |
package.json | 4 лет назад | |
readme.md | 4 лет назад |
Detect whether a terminal supports color.
Used in the terminal color module chalk.
$ npm install --save has-color
var hasColor = require('has-color');
if (hasColor) {
console.log('Terminal supports color.');
}
It obeys the --color
and --no-color
CLI flags.