马宇豪
2024-07-16 f591c27b57e2418c9495bc02ae8cfff84d35bc18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
    "name": "string-width",
    "version": "5.1.2",
    "description": "Get the visual width of a string - the number of columns required to display it",
    "license": "MIT",
    "repository": "sindresorhus/string-width",
    "funding": "https://github.com/sponsors/sindresorhus",
    "author": {
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com",
        "url": "https://sindresorhus.com"
    },
    "type": "module",
    "exports": "./index.js",
    "engines": {
        "node": ">=12"
    },
    "scripts": {
        "test": "xo && ava && tsd"
    },
    "files": [
        "index.js",
        "index.d.ts"
    ],
    "keywords": [
        "string",
        "character",
        "unicode",
        "width",
        "visual",
        "column",
        "columns",
        "fullwidth",
        "full-width",
        "full",
        "ansi",
        "escape",
        "codes",
        "cli",
        "command-line",
        "terminal",
        "console",
        "cjk",
        "chinese",
        "japanese",
        "korean",
        "fixed-width"
    ],
    "dependencies": {
        "eastasianwidth": "^0.2.0",
        "emoji-regex": "^9.2.2",
        "strip-ansi": "^7.0.1"
    },
    "devDependencies": {
        "ava": "^3.15.0",
        "tsd": "^0.14.0",
        "xo": "^0.38.2"
    }
}