strip-ansi 4.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +50 -50
  2. package/readme.md +14 -0
package/package.json CHANGED
@@ -1,52 +1,52 @@
1
1
  {
2
- "name": "strip-ansi",
3
- "version": "4.0.0",
4
- "description": "Strip ANSI escape codes",
5
- "license": "MIT",
6
- "repository": "chalk/strip-ansi",
7
- "author": {
8
- "name": "Sindre Sorhus",
9
- "email": "sindresorhus@gmail.com",
10
- "url": "sindresorhus.com"
11
- },
12
- "engines": {
13
- "node": ">=4"
14
- },
15
- "scripts": {
16
- "test": "xo && ava"
17
- },
18
- "files": [
19
- "index.js"
20
- ],
21
- "keywords": [
22
- "strip",
23
- "trim",
24
- "remove",
25
- "ansi",
26
- "styles",
27
- "color",
28
- "colour",
29
- "colors",
30
- "terminal",
31
- "console",
32
- "string",
33
- "tty",
34
- "escape",
35
- "formatting",
36
- "rgb",
37
- "256",
38
- "shell",
39
- "xterm",
40
- "log",
41
- "logging",
42
- "command-line",
43
- "text"
44
- ],
45
- "dependencies": {
46
- "ansi-regex": "^3.0.0"
47
- },
48
- "devDependencies": {
49
- "ava": "*",
50
- "xo": "*"
51
- }
2
+ "name": "strip-ansi",
3
+ "version": "5.0.0",
4
+ "description": "Strip ANSI escape codes",
5
+ "license": "MIT",
6
+ "repository": "chalk/strip-ansi",
7
+ "author": {
8
+ "name": "Sindre Sorhus",
9
+ "email": "sindresorhus@gmail.com",
10
+ "url": "sindresorhus.com"
11
+ },
12
+ "engines": {
13
+ "node": ">=6"
14
+ },
15
+ "scripts": {
16
+ "test": "xo && ava"
17
+ },
18
+ "files": [
19
+ "index.js"
20
+ ],
21
+ "keywords": [
22
+ "strip",
23
+ "trim",
24
+ "remove",
25
+ "ansi",
26
+ "styles",
27
+ "color",
28
+ "colour",
29
+ "colors",
30
+ "terminal",
31
+ "console",
32
+ "string",
33
+ "tty",
34
+ "escape",
35
+ "formatting",
36
+ "rgb",
37
+ "256",
38
+ "shell",
39
+ "xterm",
40
+ "log",
41
+ "logging",
42
+ "command-line",
43
+ "text"
44
+ ],
45
+ "dependencies": {
46
+ "ansi-regex": "^4.0.0"
47
+ },
48
+ "devDependencies": {
49
+ "ava": "^0.25.0",
50
+ "xo": "^0.23.0"
51
+ }
52
52
  }
package/readme.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  > Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
4
4
 
5
+ ---
6
+
7
+ <div align="center">
8
+ <b>
9
+ <a href="https://tidelift.com/subscription/pkg/npm-strip-ansi?utm_source=npm-strip-ansi&utm_medium=referral&utm_campaign=readme">Get professional support for 'strip-ansi' with a Tidelift subscription</a>
10
+ </b>
11
+ <br>
12
+ <sub>
13
+ Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
14
+ </sub>
15
+ </div>
16
+
17
+ ---
5
18
 
6
19
  ## Install
7
20
 
@@ -23,6 +36,7 @@ stripAnsi('\u001B[4mUnicorn\u001B[0m');
23
36
  ## Related
24
37
 
25
38
  - [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
39
+ - [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Streaming version of this module
26
40
  - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
27
41
  - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes
28
42
  - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right