christian 4571a14169 android fix | 3 лет назад | |
---|---|---|
.. | ||
node_modules/ansi-regex | 3 лет назад | |
index.d.ts | 3 лет назад | |
index.js | 3 лет назад | |
license | 3 лет назад | |
package.json | 3 лет назад | |
readme.md | 3 лет назад |
Strip ANSI escape codes from a string
$ npm install strip-ansi
const stripAnsi = require('strip-ansi');
stripAnsi('\u001B[4mUnicorn\u001B[0m');
//=> 'Unicorn'
stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007');
//=> 'Click'
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
MIT