2019-07-23 09:05:31 +02:00
|
|
|
# better-strip-color
|
|
|
|
|
2019-07-23 09:53:12 +02:00
|
|
|
Strip ansi colors, attributes from a string.
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
2019-07-23 09:56:39 +02:00
|
|
|
Install with [npm](https://www.npmjs.com/) or [pnpm](https://pnpm.js.org/)
|
2019-07-23 09:53:12 +02:00
|
|
|
|
|
|
|
```sh
|
|
|
|
$ npm i better-strip-color
|
2019-07-23 09:56:39 +02:00
|
|
|
$ pnpm i better-strip-color
|
2019-07-23 09:53:12 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```js
|
|
|
|
const strip = require("better-strip-color");
|
|
|
|
const strippedString = strip(ANSIString);
|
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
Released under the LGPL-3.0 license.
|