Sha256: 631835ce4c94d71f578dd1fe3dfe535da528ff7302d32cf523e1279806dd1d55
Contents?: true
Size: 1.96 KB
Versions: 14
Compression:
Stored size: 1.96 KB
Contents
{ "name": "supports-color", "version": "0.2.0", "description": "Detect whether a terminal supports color", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/sindresorhus/supports-color" }, "bin": { "supports-color": "cli.js" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "http://sindresorhus.com" }, "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha" }, "files": [ "index.js", "cli.js" ], "keywords": [ "cli", "bin", "color", "colour", "colors", "terminal", "console", "cli", "ansi", "styles", "tty", "rgb", "256", "shell", "xterm", "command-line", "support", "supports", "capability", "detect" ], "devDependencies": { "mocha": "*" }, "readme": "# supports-color [](https://travis-ci.org/sindresorhus/supports-color)\n\n> Detect whether a terminal supports color\n\n\n## Install\n\n```sh\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\n\n## CLI\n\n```sh\n$ npm install --global supports-color\n```\n\n```sh\n$ supports-color --help\n\nUsage\n $ supports-color\n\n# Exits with code 0 if color is supported and 1 if not\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n", "readmeFilename": "readme.md", "bugs": { "url": "https://github.com/sindresorhus/supports-color/issues" }, "homepage": "https://github.com/sindresorhus/supports-color", "_id": "supports-color@0.2.0", "_shasum": "d92de2694eb3f67323973d7ae3d8b55b4c22190a", "_from": "supports-color@^0.2.0", "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz" }
Version data entries
14 entries across 7 versions & 1 rubygems