{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["color","colour","colors","terminal","console","cli","ansi","styles","tty","rgb","256","shell","xterm","command-line","support","capability","detect"],"dist-tags":{"latest":"0.1.7"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"description":"Detect whether a terminal supports color","readme":"# has-color [![Build Status](https://travis-ci.org/sindresorhus/has-color.svg?branch=master)](https://travis-ci.org/sindresorhus/has-color)\n\n> Detect whether a terminal supports color.\n\nUsed in the terminal color module [chalk](https://github.com/sindresorhus/chalk).\n\n\n## Install\n\n```bash\n$ npm install --save has-color\n```\n\n\n## Usage\n\n```js\nvar hasColor = require('has-color');\n\nif (hasColor) {\n\tconsole.log('Terminal supports color.');\n}\n```\n\nIt obeys the `--color` and `--no-color` CLI flags.\n\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT) © [Sindre Sorhus](http://sindresorhus.com)\n","repository":{"type":"git","url":"git://github.com/sindresorhus/has-color"},"users":{"passy":true},"bugs":{"url":"https://github.com/sindresorhus/has-color/issues"},"license":"MIT","versions":{"0.1.0":{"name":"has-color","version":"0.1.0","description":"Detect whether a terminal supports color","keywords":["color","colour","colors","terminal","console","cli","ansi","styles","tty","rgb","256","shell","xterm","command-line","support","capability","detect"],"homepage":"https://github.com/sindresorhus/has-color","bugs":{"url":"https://github.com/sindresorhus/has-color/issues"},"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["has-color.js"],"main":"has-color","repository":{"type":"git","url":"git://github.com/sindresorhus/has-color.git"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"~1.12.0"},"engines":{"node":">=0.8.0"},"_id":"has-color@0.1.0","dist":{"shasum":"ecfd536548be9a8c5715cf88f4dfd4a61d458649","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/has-color/-/has-color-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.1.1":{"name":"has-color","version":"0.1.1","description":"Detect whether a terminal supports color","keywords":["color","colour","colors","terminal","console","cli","ansi","styles","tty","rgb","256","shell","xterm","command-line","support","capability","detect"],"homepage":"https://github.com/sindresorhus/has-color","bugs":{"url":"https://github.com/sindresorhus/has-color/issues"},"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["has-color.js"],"main":"has-color","repository":{"type":"git","url":"git://github.com/sindresorhus/has-color.git"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"~1.12.0"},"engines":{"node":">=0.8.0"},"_id":"has-color@0.1.1","dist":{"shasum":"28cc90127bc5448f99e76096dc97470a94a66720","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/has-color/-/has-color-0.1.1.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.1.2":{"name":"has-color","version":"0.1.2","description":"Detect whether a terminal supports color","keywords":["color","colour","colors","terminal","console","cli","ansi","styles","tty","rgb","256","shell","xterm","command-line","support","capability","detect"],"homepage":"https://github.com/sindresorhus/has-color","bugs":{"url":"https://github.com/sindresorhus/has-color/issues"},"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["has-color.js"],"main":"has-color","repository":{"type":"git","url":"git://github.com/sindresorhus/has-color.git"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"~1.12.0"},"engines":{"node":">=0.8.0"},"_id":"has-color@0.1.2","dist":{"shasum":"c4a523038912451262c745e0a663c38d948098b4","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/has-color/-/has-color-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.1.3":{"name":"has-color","version":"0.1.3","description":"Detect whether a terminal supports color","keywords":["color","colour","colors","terminal","console","cli","ansi","styles","tty","rgb","256","shell","xterm","command-line","support","capability","detect"],"homepage":"https://github.com/sindresorhus/has-color","bugs":{"url":"https://github.com/sindresorhus/has-color/issues"},"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["has-color.js"],"main":"has-color","repository":{"type":"git","url":"git://github.com/sindresorhus/has-color.git"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"~1.12.0"},"engines":{"node":">=0.8.0"},"_id":"has-color@0.1.3","dist":{"shasum":"b249acb22a6b481c572eeddb28b8f346c0b242a1","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/has-color/-/has-color-0.1.3.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.1.4":{"name":"has-color","version":"0.1.4","description":"Detect whether a terminal supports color","keywords":["color","colour","colors","terminal","console","cli","ansi","styles","tty","rgb","256","shell","xterm","command-line","support","capability","detect"],"homepage":"https://github.com/sindresorhus/has-color","bugs":{"url":"https://github.com/sindresorhus/has-color/issues"},"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["has-color.js"],"main":"has-color","repository":{"type":"git","url":"git://github.com/sindresorhus/has-color.git"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"~1.12.0"},"engines":{"node":">=0.8.0"},"_id":"has-color@0.1.4","dist":{"shasum":"d1dadeea5b9e8b446bf08603532333710c95a290","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/has-color/-/has-color-0.1.4.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.1.5":{"name":"has-color","version":"0.1.5","description":"Detect whether a terminal supports color","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/has-color"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["color","colour","colors","terminal","console","cli","ansi","styles","tty","rgb","256","shell","xterm","command-line","support","capability","detect"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/has-color/issues"},"homepage":"https://github.com/sindresorhus/has-color","_id":"has-color@0.1.5","dist":{"shasum":"a915bb213e8624135279ad9246ce652610266f62","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/has-color/-/has-color-0.1.5.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.1.6":{"name":"has-color","version":"0.1.6","description":"Detect whether a terminal supports color","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/has-color"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["color","colour","colors","terminal","console","cli","ansi","styles","tty","rgb","256","shell","xterm","command-line","support","capability","detect"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/has-color/issues"},"homepage":"https://github.com/sindresorhus/has-color","_id":"has-color@0.1.6","dist":{"shasum":"a77443bddb036c6df06e04a4493ce9f23533731b","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/has-color/-/has-color-0.1.6.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.1.7":{"name":"has-color","version":"0.1.7","description":"Detect whether a terminal supports color","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/has-color"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["color","colour","colors","terminal","console","cli","ansi","styles","tty","rgb","256","shell","xterm","command-line","support","capability","detect"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/has-color/issues"},"homepage":"https://github.com/sindresorhus/has-color","_id":"has-color@0.1.7","dist":{"shasum":"67144a5260c34fc3cca677d041daf52fe7b78b2f","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/has-color/-/has-color-0.1.7.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}}},"name":"has-color","time":{"modified":"2016-01-29T01:34:15.160Z","created":"2013-08-03T00:06:16.459Z","0.1.0":"2013-08-03T00:06:19.776Z","0.1.1":"2013-08-03T01:38:54.277Z","0.1.2":"2014-01-03T12:25:58.713Z","0.1.3":"2014-01-29T12:03:47.925Z","0.1.4":"2014-02-08T15:59:40.047Z","0.1.5":"2014-04-07T10:57:05.811Z","0.1.6":"2014-04-11T11:39:30.655Z","0.1.7":"2014-04-16T13:49:01.259Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/has-color"}