Update README.md

This commit is contained in:
Ceda EI 2019-07-23 13:23:12 +05:30
parent ef5d0780c7
commit 5cb9cc158a
2 changed files with 21 additions and 2 deletions

View File

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

View File

@ -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": {