mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.3 KiB
76 lines
2.3 KiB
{
|
|
"name": "strip-ansi",
|
|
"version": "3.0.0",
|
|
"description": "Strip ANSI escape codes",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/strip-ansi.git"
|
|
},
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"maintainers": [
|
|
{
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
{
|
|
"name": "Joshua Appelman",
|
|
"email": "jappelman@xebia.com",
|
|
"url": "jbnicolai.com"
|
|
}
|
|
],
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"scripts": {
|
|
"test": "node test.js"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"keywords": [
|
|
"strip",
|
|
"trim",
|
|
"remove",
|
|
"ansi",
|
|
"styles",
|
|
"color",
|
|
"colour",
|
|
"colors",
|
|
"terminal",
|
|
"console",
|
|
"string",
|
|
"tty",
|
|
"escape",
|
|
"formatting",
|
|
"rgb",
|
|
"256",
|
|
"shell",
|
|
"xterm",
|
|
"log",
|
|
"logging",
|
|
"command-line",
|
|
"text"
|
|
],
|
|
"dependencies": {
|
|
"ansi-regex": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "0.0.4"
|
|
},
|
|
"readme": "# strip-ansi [![Build Status](https://travis-ci.org/sindresorhus/strip-ansi.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-ansi)\n\n> Strip [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)\n\n\n## Install\n\n```\n$ npm install --save strip-ansi\n```\n\n\n## Usage\n\n```js\nvar stripAnsi = require('strip-ansi');\n\nstripAnsi('\\u001b[4mcake\\u001b[0m');\n//=> 'cake'\n```\n\n\n## Related\n\n- [strip-ansi-cli](https://github.com/sindresorhus/strip-ansi-cli) - CLI for this module\n- [has-ansi](https://github.com/sindresorhus/has-ansi) - Check if a string has 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",
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/strip-ansi/issues"
|
|
},
|
|
"homepage": "https://github.com/sindresorhus/strip-ansi#readme",
|
|
"_id": "strip-ansi@3.0.0",
|
|
"_shasum": "7510b665567ca914ccb5d7e072763ac968be3724",
|
|
"_resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.0.tgz",
|
|
"_from": "strip-ansi@3.0.0"
|
|
}
|
|
|