{"name":"has-ansi","version":"3.0.0","description":"Check if a string has ANSI escape codes","license":"MIT","repository":{"type":"git","url":"git+https://github.com/chalk/has-ansi.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["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":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"5b1f1e1dace10ad37ec9553aab2fae022a646dab","bugs":{"url":"https://github.com/chalk/has-ansi/issues"},"homepage":"https://github.com/chalk/has-ansi#readme","_id":"has-ansi@3.0.0","_shasum":"36077ef1d15f333484aa7fa77a28606f1c655b37","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"36077ef1d15f333484aa7fa77a28606f1c655b37","tarball":"http://registry-npm.ywwl.com/has-ansi/download/has-ansi-3.0.0.tgz","integrity":"sha512-5JRDTvNq6mVkaMHQVXrGnaCXHD6JfqxwCy8LA/DQSqLLqePR9uaJVm2u3Ek/UziJFQz+d1ul99RtfIhE2aorkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBaawXGrI3y0ZPOz1wS2FZwQs5asWJKKJiWlHb03F7IRAiBOn/caA8UW/anxi6ylCxFzrPXa2COqzhMZi7kVi2EWig=="}],"size":1654,"noattachment":false,"key":"/has-ansi/-/has-ansi-3.0.0.tgz"},"maintainers":[{"name":"dthree","email":"threedeecee@gmail.com"},{"name":"qix","email":"i.am.qix@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/has-ansi-3.0.0.tgz_1497987181489_0.9539871530141681"},"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":1497987182569,"_cnpm_publish_time":1497987182569,"dist-tags":{"latest":"6.0.2"}}