.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / string-width / node_modules / strip-ansi / readme.md
1 # strip-ansi [![Build Status](https://travis-ci.org/chalk/strip-ansi.svg?branch=master)](https://travis-ci.org/chalk/strip-ansi)
2
3 > Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
4
5
6 ## Install
7
8 ```
9 $ npm install strip-ansi
10 ```
11
12
13 ## Usage
14
15 ```js
16 const stripAnsi = require('strip-ansi');
17
18 stripAnsi('\u001B[4mUnicorn\u001B[0m');
19 //=> 'Unicorn'
20 ```
21
22
23 ## Related
24
25 - [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
26 - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
27 - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes
28 - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
29
30
31 ## Maintainers
32
33 - [Sindre Sorhus](https://github.com/sindresorhus)
34 - [Josh Junon](https://github.com/qix-)
35
36
37 ## License
38
39 MIT