pnpm
Version:
Fast, disk space efficient package manager
132 lines (131 loc) • 5.74 kB
JSON
{
"_args": [
[
{
"raw": "strip-ansi@5.2.0",
"scope": null,
"escapedName": "strip-ansi",
"name": "strip-ansi",
"rawSpec": "5.2.0",
"spec": "5.2.0",
"type": "version"
},
"/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/@pnpm/default-reporter"
]
],
"_from": "strip-ansi@5.2.0",
"_hasShrinkwrap": false,
"_id": "strip-ansi@5.2.0",
"_location": "/strip-ansi",
"_nodeVersion": "8.15.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/strip-ansi_5.2.0_1552898778714_0.7914614281989267"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "6.9.0",
"_phantomChildren": {},
"_requested": {
"raw": "strip-ansi@5.2.0",
"scope": null,
"escapedName": "strip-ansi",
"name": "strip-ansi",
"rawSpec": "5.2.0",
"spec": "5.2.0",
"type": "version"
},
"_requiredBy": [
"/@pnpm/default-reporter",
"/string-length"
],
"_resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
"_shasum": "8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae",
"_shrinkwrap": null,
"_spec": "strip-ansi@5.2.0",
"_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/@pnpm/default-reporter",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/chalk/strip-ansi/issues"
},
"dependencies": {
"ansi-regex": "^4.1.0"
},
"description": "Strip ANSI escape codes from a string",
"devDependencies": {
"ava": "^1.3.1",
"tsd-check": "^0.5.0",
"xo": "^0.24.0"
},
"directories": {},
"dist": {
"integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
"shasum": "8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae",
"tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
"fileCount": 5,
"unpackedSize": 4171,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj1rbCRA9TVsSAnZWagAAokAP/RiU1bcOVYwy9qLpHlnF\nnR33B+BKYs0XId+BEunXYZZ7iFLFUmo7v7Topp1G5gaTnmEfi5B2foX5Gbmq\n1baLKEDUXzd3tkM4AoLDY2V3NiQzyqBb+AP6J/7Y2dNRv6l2s+HKAyppNDbK\ndfQuBC8QAguLpTECuQlPuRvUjyw1307OTmY0/aX2S17WiChnIAcai6yCJIM1\nNk242zAMv187S7QP0UAqrHLqgM/CoOg5TjBa3mu6/JSLdumlNPMzJbAXVYye\n0fiaRRKNelZ47cQL2kkZwhiJJW3B9lLneYchYtDyJ9TrNInVhradEw4hzeER\nEXsvImEa9MjziANjU6RERMnOu8rqtgwikzwzWcAqiMzZ0zQw8Dz14cB6w3Z2\n7k5EnQbSbXka8ItCqtIg7VEAJsP8LyrcBJBUgk1sdsU/laFKfbHpNoHQgIxM\nXGjvMJiKIpe95/GLwROQ0T3UG2vUHGjFjgFABCKODbl9rt/6+hRoI5iHMJKA\nTPxIOBZU4gcnhwkOsSgQtRk4rEvVl6uxtc24ZTNHEyDcVoKk6v0Zb1y+9xTt\nSd/NI5/KCp28cEKC63sFJlLGvz2BIPjE2B4838Xqem3g1jIm409ewRrud8eV\n9xpNwrHKxkJZN6ts/x2MLkR0W23+DunhD6tMKmUuNS60SDBduZlINyh9IEGl\neZM8\r\n=9U0k\r\n-----END PGP SIGNATURE-----\r\n"
},
"engines": {
"node": ">=6"
},
"files": [
"index.js",
"index.d.ts"
],
"gitHead": "b9c492921b72c48f93568565dbdc929cf63c20e1",
"homepage": "https://github.com/chalk/strip-ansi#readme",
"keywords": [
"strip",
"trim",
"remove",
"ansi",
"styles",
"color",
"colour",
"colors",
"terminal",
"console",
"string",
"tty",
"escape",
"formatting",
"rgb",
"256",
"shell",
"xterm",
"log",
"logging",
"command-line",
"text"
],
"license": "MIT",
"maintainers": [
{
"name": "qix",
"email": "i.am.qix@gmail.com"
},
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "strip-ansi",
"optionalDependencies": {},
"readme": "# strip-ansi [](https://travis-ci.org/chalk/strip-ansi)\n\n> Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-strip-ansi?utm_source=npm-strip-ansi&utm_medium=referral&utm_campaign=readme\">Get professional support for 'strip-ansi' 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\n---\n\n## Install\n\n```\n$ npm install strip-ansi\n```\n\n\n## Usage\n\n```js\nconst stripAnsi = require('strip-ansi');\n\nstripAnsi('\\u001B[4mUnicorn\\u001B[0m');\n//=> 'Unicorn'\n\nstripAnsi('\\u001B]8;;https://github.com\\u0007Click\\u001B]8;;\\u0007');\n//=> 'Click'\n```\n\n\n## Security\n\nTo report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.\n\n\n## Related\n\n- [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module\n- [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Streaming version of this module\n- [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has 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\n## Maintainers\n\n- [Sindre Sorhus](https://github.com/sindresorhus)\n- [Josh Junon](https://github.com/qix-)\n\n\n## License\n\nMIT\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/chalk/strip-ansi.git"
},
"scripts": {
"test": "xo && ava && tsd-check"
},
"version": "5.2.0"
}