https://github.com/chalk/strip-ansi-cli
Strip ANSI escape codes
https://github.com/chalk/strip-ansi-cli
Last synced: 11 months ago
JSON representation
Strip ANSI escape codes
- Host: GitHub
- URL: https://github.com/chalk/strip-ansi-cli
- Owner: chalk
- License: mit
- Created: 2015-06-30T17:05:28.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2024-01-28T17:13:38.000Z (over 2 years ago)
- Last Synced: 2025-07-26T10:08:07.694Z (12 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 59
- Watchers: 6
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# strip-ansi-cli
> Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
## Install
```sh
npm install --global strip-ansi-cli
```
## Usage
```
$ strip-ansi --help
Usage
$ strip-ansi
$ echo | strip-ansi
Example
$ ls --color | strip-ansi
```
## Related
- [strip-ansi](https://github.com/chalk/strip-ansi) - API for this module
## Maintainers
- [Sindre Sorhus](https://github.com/sindresorhus)
- [Josh Junon](https://github.com/qix-)