UNPKG

964 BJSONView Raw
1{
2 "name": "has-ansi",
3 "version": "6.0.0",
4 "description": "Check if a string has ANSI escape codes",
5 "license": "MIT",
6 "repository": "chalk/has-ansi",
7 "funding": "https://github.com/chalk/has-ansi?sponsor=1",
8 "author": {
9 "name": "Sindre Sorhus",
10 "email": "sindresorhus@gmail.com",
11 "url": "https://sindresorhus.com"
12 },
13 "type": "module",
14 "exports": {
15 "default": "./index.js",
16 "types": "./index.d.ts"
17 },
18 "sideEffects": false,
19 "engines": {
20 "node": ">=18"
21 },
22 "scripts": {
23 "test": "xo && ava && tsd"
24 },
25 "files": [
26 "index.js",
27 "index.d.ts"
28 ],
29 "keywords": [
30 "ansi",
31 "styles",
32 "color",
33 "colour",
34 "colors",
35 "terminal",
36 "console",
37 "string",
38 "tty",
39 "escape",
40 "shell",
41 "xterm",
42 "command-line",
43 "text",
44 "regex",
45 "regexp",
46 "match",
47 "test",
48 "find",
49 "pattern",
50 "has"
51 ],
52 "dependencies": {
53 "ansi-regex": "^6.0.1"
54 },
55 "devDependencies": {
56 "ava": "^6.1.3",
57 "tsd": "^0.31.1",
58 "xo": "^0.58.0"
59 }
60}