Update README.md
This commit is contained in:
parent
ef5d0780c7
commit
5cb9cc158a
21
README.md
21
README.md
|
@ -1,3 +1,22 @@
|
||||||
# better-strip-color
|
# 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.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "better-strip-color",
|
"name": "better-strip-color",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Strip ANSI colors, attributes from a string",
|
"description": "Strip ANSI colors, attributes from a string",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue