node/deps/npm/node_modules/strip-ansi
Forrest L Norvell 0928584444 deps: upgrade npm to 3.8.3
PR-URL: https://github.com/npm/node/pull/6
Reviewed-By: Evan Lucas <evanlucas@me.com>
2016-04-01 14:47:39 -07:00
..
index.js deps: upgrade npm to 3.3.6 2015-10-22 13:56:09 -04:00
license deps: upgrade npm to 3.3.6 2015-10-22 13:56:09 -04:00
package.json deps: upgrade npm to 3.8.3 2016-04-01 14:47:39 -07:00
readme.md deps: upgrade npm to 3.8.3 2016-04-01 14:47:39 -07:00

strip-ansi Build Status

Strip ANSI escape codes

Install

$ npm install --save strip-ansi

Usage

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

stripAnsi('\u001b[4mcake\u001b[0m');
//=> 'cake'
  • 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

License

MIT © Sindre Sorhus