github-pages-deploy-action/node_modules/strip-ansi
2020-03-21 17:13:25 -04:00
..
node_modules/ansi-regex Release 2020-03-21 17:13:25 -04:00
index.js Release 2020-03-21 17:13:25 -04:00
license Dependencies 2020-01-28 00:08:03 -05:00
package.json Release 2020-03-21 17:13:25 -04:00
readme.md Release 2020-03-21 17:13:25 -04:00

strip-ansi Build Status

Strip ANSI escape codes

Install

$ npm install strip-ansi

Usage

const stripAnsi = require('strip-ansi');

stripAnsi('\u001B[4mUnicorn\u001B[0m');
//=> 'Unicorn'
  • strip-ansi-cli - CLI for this module
  • has-ansi - Check if a string has ANSI escape codes
  • ansi-regex - Regular expression for matching ANSI escape codes
  • chalk - Terminal string styling done right

Maintainers

License

MIT