strip-color NPM version

Strip ansi characters from a string.

Install

Install with npm

  1. $ npm i strip-color --save

Usage

  1. var strip = require('strip-color');
  2. var red = require('ansi-red');
  3. var str = red('abc');
  4. console.log(strip(str));
  5. //=> 'abc';

Related projects

Running tests

Install dev dependencies:

  1. $ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on October 18, 2015.