source: trip-planner-front/node_modules/gauge/node_modules/strip-ansi/readme.md@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 801 bytes
Line 
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](http://en.wikipedia.org/wiki/ANSI_escape_code)
4
5
6## Install
7
8```
9$ npm install --save strip-ansi
10```
11
12
13## Usage
14
15```js
16var stripAnsi = require('strip-ansi');
17
18stripAnsi('\u001b[4mcake\u001b[0m');
19//=> 'cake'
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## License
32
33MIT © [Sindre Sorhus](http://sindresorhus.com)
Note: See TracBrowser for help on using the repository browser.