sensordb2 e64a8defe5 3.17 | 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 strip-ansi
const stripAnsi = require('strip-ansi');
stripAnsi('\u001B[4mUnicorn\u001B[0m');
//=> 'Unicorn'
MIT