strip-color
Strip ANSI color codes from a string. No dependencies.
Last updated 9 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install strip-color 
SYNC missed versions from official npm registry.

strip-color NPM version

Strip ansi characters from a string.

Install

Install with npm

$ npm i strip-color --save

Usage

var strip = require('strip-color');
var red = require('ansi-red');
var str = red('abc');

console.log(strip(str));
//=> 'abc';

Related projects

Running tests

Install dev dependencies:

$ 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.

Current Tags

  • 0.1.0                                ...           latest (9 years ago)

1 Versions

  • 0.1.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)

© 2010 - cnpmjs.org x YWFE | Home | YWFE