Bachir Soussi Chiadmi ac58a24f5c added bower, gulp | 7 years ago | |
---|---|---|
.. | ||
index.js | 7 years ago | |
license | 7 years ago | |
package.json | 7 years ago | |
readme.md | 7 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