canonical
Version:
Canonical code style linter and formatter for JavaScript, SCSS and CSS.
96 lines (95 loc) • 3.26 kB
JSON
{
"_args": [
[
"supports-color@https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"/Users/gajus/Documents/dev/canonical-code-style/canonical"
]
],
"_from": "supports-color@>=2.0.0 <3.0.0",
"_id": "supports-color@2.0.0",
"_inCache": true,
"_location": "/supports-color",
"_phantomChildren": {},
"_requested": {
"name": "supports-color",
"raw": "supports-color@https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"rawSpec": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/chalk"
],
"_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"_shasum": "535d045ce6b6363fa40117084629995e9df324c7",
"_shrinkwrap": null,
"_spec": "supports-color@https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"_where": "/Users/gajus/Documents/dev/canonical-code-style/canonical",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/chalk/supports-color/issues"
},
"dependencies": {},
"description": "Detect whether a terminal supports color",
"devDependencies": {
"mocha": "*",
"require-uncached": "^1.0.2"
},
"engines": {
"node": ">=0.8.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/chalk/supports-color#readme",
"keywords": [
"256",
"ansi",
"capability",
"cli",
"color",
"colors",
"colour",
"command-line",
"console",
"detect",
"rgb",
"shell",
"styles",
"support",
"supports",
"terminal",
"tty",
"xterm"
],
"license": "MIT",
"maintainers": [
{
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
{
"name": "Joshua Appelman",
"email": "jappelman@xebia.com",
"url": "jbnicolai.com"
}
],
"name": "supports-color",
"optionalDependencies": {},
"readme": "# supports-color [](https://travis-ci.org/chalk/supports-color)\n\n> Detect whether a terminal supports color\n\n\n## Install\n\n```\n$ npm install --save supports-color\n```\n\n\n## Usage\n\n```js\nvar supportsColor = require('supports-color');\n\nif (supportsColor) {\n\tconsole.log('Terminal supports color');\n}\n```\n\nIt obeys the `--color` and `--no-color` CLI flags.\n\nFor situations where using `--color` is not possible, add an environment variable `FORCE_COLOR` with any value to force color. Trumps `--no-color`.\n\n\n## Related\n\n- [supports-color-cli](https://github.com/chalk/supports-color-cli) - CLI for this module\n- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/chalk/supports-color.git"
},
"scripts": {
"test": "mocha"
},
"version": "2.0.0"
}