125 lines
3.6 KiB
JSON
125 lines
3.6 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "has-ansi@^2.0.0",
|
|
"scope": null,
|
|
"escapedName": "has-ansi",
|
|
"name": "has-ansi",
|
|
"rawSpec": "^2.0.0",
|
|
"spec": ">=2.0.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/babel-code-frame/node_modules/chalk"
|
|
]
|
|
],
|
|
"_from": "has-ansi@>=2.0.0 <3.0.0",
|
|
"_id": "has-ansi@2.0.0",
|
|
"_inCache": true,
|
|
"_location": "/has-ansi",
|
|
"_nodeVersion": "0.12.5",
|
|
"_npmUser": {
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
},
|
|
"_npmVersion": "2.11.2",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "has-ansi@^2.0.0",
|
|
"scope": null,
|
|
"escapedName": "has-ansi",
|
|
"name": "has-ansi",
|
|
"rawSpec": "^2.0.0",
|
|
"spec": ">=2.0.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/babel-code-frame/chalk",
|
|
"/gulp-util/chalk",
|
|
"/metro/chalk",
|
|
"/react-native/chalk"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
|
|
"_shasum": "34f5049ce1ecdf2b0649af3ef24e45ed35416d91",
|
|
"_shrinkwrap": null,
|
|
"_spec": "has-ansi@^2.0.0",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/babel-code-frame/node_modules/chalk",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/has-ansi/issues"
|
|
},
|
|
"dependencies": {
|
|
"ansi-regex": "^2.0.0"
|
|
},
|
|
"description": "Check if a string has ANSI escape codes",
|
|
"devDependencies": {
|
|
"ava": "0.0.4"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "34f5049ce1ecdf2b0649af3ef24e45ed35416d91",
|
|
"tarball": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "0722275e1bef139fcd09137da6e5550c3cd368b9",
|
|
"homepage": "https://github.com/sindresorhus/has-ansi#readme",
|
|
"keywords": [
|
|
"ansi",
|
|
"styles",
|
|
"color",
|
|
"colour",
|
|
"colors",
|
|
"terminal",
|
|
"console",
|
|
"string",
|
|
"tty",
|
|
"escape",
|
|
"shell",
|
|
"xterm",
|
|
"command-line",
|
|
"text",
|
|
"regex",
|
|
"regexp",
|
|
"re",
|
|
"match",
|
|
"test",
|
|
"find",
|
|
"pattern",
|
|
"has"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
{
|
|
"name": "Joshua Appelman",
|
|
"email": "jappelman@xebia.com",
|
|
"url": "jbnicolai.com"
|
|
}
|
|
],
|
|
"name": "has-ansi",
|
|
"optionalDependencies": {},
|
|
"readme": "# has-ansi [![Build Status](https://travis-ci.org/sindresorhus/has-ansi.svg?branch=master)](https://travis-ci.org/sindresorhus/has-ansi)\n\n> Check if a string has [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)\n\n\n## Install\n\n```\n$ npm install --save has-ansi\n```\n\n\n## Usage\n\n```js\nvar hasAnsi = require('has-ansi');\n\nhasAnsi('\\u001b[4mcake\\u001b[0m');\n//=> true\n\nhasAnsi('cake');\n//=> false\n```\n\n\n## Related\n\n- [has-ansi-cli](https://github.com/sindresorhus/has-ansi-cli) - CLI for this module\n- [strip-ansi](https://github.com/sindresorhus/strip-ansi) - Strip ANSI escape codes\n- [ansi-regex](https://github.com/sindresorhus/ansi-regex) - Regular expression for matching ANSI escape codes\n- [chalk](https://github.com/sindresorhus/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/sindresorhus/has-ansi.git"
|
|
},
|
|
"scripts": {
|
|
"test": "node test.js"
|
|
},
|
|
"version": "2.0.0"
|
|
}
|