.. | |||
node_modules/ ansi-regex | 5 years ago | ||
index.js | 5 years ago | ||
license | 5 years ago | ||
package.json | 5 years ago | ||
readme.md | 5 years ago |
Strip ANSI escape codes
$ npm install --save strip-ansi
var stripAnsi = require('strip-ansi'); stripAnsi('\u001b[4mcake\u001b[0m'); //=> 'cake'
MIT © Sindre Sorhus