mirror of
https://gitlab.com/ceda_ei/better-strip-color.git
synced 2025-11-07 18:00:06 +01:00
Update README.md
This commit is contained in:
21
README.md
21
README.md
@@ -1,3 +1,22 @@
|
||||
# better-strip-color
|
||||
|
||||
Strip ansi characters from a string.
|
||||
Strip ansi colors, attributes from a string.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/) or [pnpm]()
|
||||
|
||||
```sh
|
||||
$ npm i better-strip-color
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const strip = require("better-strip-color");
|
||||
const strippedString = strip(ANSIString);
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Released under the LGPL-3.0 license.
|
||||
|
||||
Reference in New Issue
Block a user