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