zhangjian
2023-05-30 dabbcc356af21f9f2f88ac69ff07994e6e32e4fc
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
{
    "name": "cli-truncate",
    "version": "2.1.0",
    "description": "Truncate a string to a specific width in the terminal",
    "license": "MIT",
    "repository": "sindresorhus/cli-truncate",
    "funding": "https://github.com/sponsors/sindresorhus",
    "author": {
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com",
        "url": "sindresorhus.com"
    },
    "engines": {
        "node": ">=8"
    },
    "scripts": {
        "test": "xo && ava && tsd"
    },
    "files": [
        "index.js",
        "index.d.ts"
    ],
    "keywords": [
        "truncate",
        "ellipsis",
        "text",
        "limit",
        "slice",
        "cli",
        "terminal",
        "term",
        "shell",
        "width",
        "ansi",
        "string"
    ],
    "dependencies": {
        "slice-ansi": "^3.0.0",
        "string-width": "^4.2.0"
    },
    "devDependencies": {
        "ava": "^2.1.0",
        "tsd": "^0.11.0",
        "xo": "^0.25.3"
    }
}