UNPKG

1.14 kBJSONView Raw
1{
2 "name": "string-width",
3 "version": "7.1.0",
4 "description": "Get the visual width of a string - the number of columns required to display it",
5 "license": "MIT",
6 "repository": "sindresorhus/string-width",
7 "funding": "https://github.com/sponsors/sindresorhus",
8 "author": {
9 "name": "Sindre Sorhus",
10 "email": "sindresorhus@gmail.com",
11 "url": "https://sindresorhus.com"
12 },
13 "type": "module",
14 "exports": {
15 "types": "./index.d.ts",
16 "default": "./index.js"
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 "string",
31 "character",
32 "unicode",
33 "width",
34 "visual",
35 "column",
36 "columns",
37 "fullwidth",
38 "full-width",
39 "full",
40 "ansi",
41 "escape",
42 "codes",
43 "cli",
44 "command-line",
45 "terminal",
46 "console",
47 "cjk",
48 "chinese",
49 "japanese",
50 "korean",
51 "fixed-width",
52 "east-asian-width"
53 ],
54 "dependencies": {
55 "emoji-regex": "^10.3.0",
56 "get-east-asian-width": "^1.0.0",
57 "strip-ansi": "^7.1.0"
58 },
59 "devDependencies": {
60 "ava": "^5.3.1",
61 "tsd": "^0.29.0",
62 "xo": "^0.56.0"
63 }
64}