{"name":"has-ansi","version":"0.1.0","description":"Check if a string has ANSI escape codes","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/has-ansi"},"bin":{"has-ansi":"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","ansi","styles","color","colour","colors","terminal","console","string","tty","escape","shell","xterm","command-line","text","regex","regexp","re","match","test","find","pattern","has"],"dependencies":{"ansi-regex":"^0.2.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/has-ansi/issues"},"homepage":"https://github.com/sindresorhus/has-ansi","_id":"has-ansi@0.1.0","_shasum":"84f265aae8c0e6a88a12d7022894b7568894c62e","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"84f265aae8c0e6a88a12d7022894b7568894c62e","tarball":"http://registry-npm.ywwl.com/has-ansi/download/has-ansi-0.1.0.tgz","integrity":"sha512-1YsTg1fk2/6JToQhtZkArMkurq8UoWU1Qe0aR3VUHjgij4nOylSWLWAtBXoZ4/dXOmugfLGm1c+QhuD0JyedFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFiTQi1iIDDptEEPbaWsAtYjsktjogc9ZPwkQ+/dQZ2qAiEAyXnzdSeMKb3mpgtYkB5wPQmd6JwUIYesO/ju/m8RpM8="}],"size":1297,"noattachment":false,"key":"/has-ansi/-/has-ansi-0.1.0.tgz"},"directories":{},"readme":"# has-ansi\n\n> Check if a string has [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)\n\n## Install\n\n```\n$ npm install has-ansi\n```\n\n## Usage\n\n```js\nimport hasAnsi from 'has-ansi';\n\nhasAnsi('\\u001B[4mUnicorn\\u001B[0m');\n//=> true\n\nhasAnsi('cake');\n//=> false\n```\n\n## Related\n\n- [has-ansi-cli](https://github.com/chalk/has-ansi-cli) - CLI for this module\n- [strip-ansi](https://github.com/chalk/strip-ansi) - Strip ANSI escape codes\n- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes\n- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right\n\n## Maintainers\n\n- [Sindre Sorhus](https://github.com/sindresorhus)\n- [Josh Junon](https://github.com/qix-)\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-has-ansi?utm_source=npm-has-ansi&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","publish_time":1402774855321,"_cnpm_publish_time":1402774855321,"dist-tags":{"latest":"6.0.2"}}