| Current Path : /home/emeraadmin/www/4d695/ |
| Current File : /home/emeraadmin/www/4d695/strip-ansi-cjs.tar |
package.json 0000644 00000003732 15170143325 0007040 0 ustar 00 {
"_args": [
[
"strip-ansi-cjs@npm:strip-ansi@6.0.1",
"C:\\xampp\\htdocs\\emeraltd"
]
],
"_from": "strip-ansi-cjs@npm:strip-ansi@6.0.1",
"_id": "strip-ansi-cjs@npm:strip-ansi@6.0.1",
"_inBundle": true,
"_location": "/npm/strip-ansi-cjs",
"_phantomChildren": {},
"_requested": {
"type": "alias",
"registry": true,
"raw": "strip-ansi-cjs@npm:strip-ansi@6.0.1",
"name": "strip-ansi-cjs",
"escapedName": "strip-ansi-cjs",
"rawSpec": "npm:strip-ansi@6.0.1",
"saveSpec": null,
"fetchSpec": null,
"subSpec": {
"type": "version",
"registry": true,
"raw": "strip-ansi@6.0.1",
"name": "strip-ansi",
"escapedName": "strip-ansi",
"rawSpec": "6.0.1",
"saveSpec": null,
"fetchSpec": "6.0.1"
}
},
"_requiredBy": [],
"_resolved": false,
"_spec": "npm:strip-ansi@6.0.1",
"_where": "C:\\xampp\\htdocs\\emeraltd",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/chalk/strip-ansi/issues"
},
"dependencies": {
"ansi-regex": "^5.0.1"
},
"description": "Strip ANSI escape codes from a string",
"devDependencies": {
"ava": "^2.4.0",
"tsd": "^0.10.0",
"xo": "^0.25.3"
},
"engines": {
"node": ">=8"
},
"files": [
"index.js",
"index.d.ts"
],
"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",
"name": "strip-ansi-cjs",
"repository": {
"type": "git",
"url": "git+https://github.com/chalk/strip-ansi.git"
},
"scripts": {
"test": "xo && ava && tsd"
},
"version": "6.0.1"
}
index.js 0000644 00000000232 15170143325 0006207 0 ustar 00 'use strict';
const ansiRegex = require('ansi-regex');
module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
license 0000644 00000002125 15170143325 0006112 0 ustar 00 MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.