Bachir Soussi Chiadmi 0611418f7a added whole system from ola4doc | 7 gadi atpakaļ | |
---|---|---|
.. | ||
index.js | 7 gadi atpakaļ | |
license | 7 gadi atpakaļ | |
package.json | 7 gadi atpakaļ | |
readme.md | 7 gadi atpakaļ |
Strip ANSI escape codes
$ npm install --save strip-ansi
var stripAnsi = require('strip-ansi');
stripAnsi('\u001b[4mcake\u001b[0m');
//=> 'cake'
MIT © Sindre Sorhus