24 lines
379 B
Markdown
24 lines
379 B
Markdown
# better-strip-color
|
|
|
|
Strip ansi colors, attributes from a string.
|
|
|
|
## Install
|
|
|
|
Install with [npm](https://www.npmjs.com/) or [pnpm](https://pnpm.js.org/)
|
|
|
|
```sh
|
|
$ npm i better-strip-color
|
|
$ pnpm i better-strip-color
|
|
```
|
|
|
|
## Usage
|
|
|
|
```js
|
|
const strip = require("better-strip-color");
|
|
const strippedString = strip(ANSIString);
|
|
```
|
|
|
|
## License
|
|
|
|
Released under the LGPL-3.0 license.
|