1 | {
|
2 | "name": "cli-truncate",
|
3 | "version": "2.1.0",
|
4 | "description": "Truncate a string to a specific width in the terminal",
|
5 | "license": "MIT",
|
6 | "repository": "sindresorhus/cli-truncate",
|
7 | "funding": "https://github.com/sponsors/sindresorhus",
|
8 | "author": {
|
9 | "name": "Sindre Sorhus",
|
10 | "email": "sindresorhus@gmail.com",
|
11 | "url": "sindresorhus.com"
|
12 | },
|
13 | "engines": {
|
14 | "node": ">=8"
|
15 | },
|
16 | "scripts": {
|
17 | "test": "xo && ava && tsd"
|
18 | },
|
19 | "files": [
|
20 | "index.js",
|
21 | "index.d.ts"
|
22 | ],
|
23 | "keywords": [
|
24 | "truncate",
|
25 | "ellipsis",
|
26 | "text",
|
27 | "limit",
|
28 | "slice",
|
29 | "cli",
|
30 | "terminal",
|
31 | "term",
|
32 | "shell",
|
33 | "width",
|
34 | "ansi",
|
35 | "string"
|
36 | ],
|
37 | "dependencies": {
|
38 | "slice-ansi": "^3.0.0",
|
39 | "string-width": "^4.2.0"
|
40 | },
|
41 | "devDependencies": {
|
42 | "ava": "^2.1.0",
|
43 | "tsd": "^0.11.0",
|
44 | "xo": "^0.25.3"
|
45 | }
|
46 | }
|