caoge c760052ff9 机车状态修改 | hace 7 meses | |
---|---|---|
.. | ||
index.js | hace 7 meses | |
license | hace 7 meses | |
package.json | hace 7 meses | |
readme.md | hace 7 meses |
Strip ANSI escape codes
$ npm install --save strip-ansi
var stripAnsi = require('strip-ansi');
stripAnsi('\u001b[4mcake\u001b[0m');
//=> 'cake'
MIT © Sindre Sorhus