UNPKG

941 BJSONView Raw
1{
2 "name": "string-width",
3 "version": "4.2.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 "author": {
8 "name": "Sindre Sorhus",
9 "email": "sindresorhus@gmail.com",
10 "url": "sindresorhus.com"
11 },
12 "engines": {
13 "node": ">=8"
14 },
15 "scripts": {
16 "test": "xo && ava && tsd"
17 },
18 "files": [
19 "index.js",
20 "index.d.ts"
21 ],
22 "keywords": [
23 "string",
24 "character",
25 "unicode",
26 "width",
27 "visual",
28 "column",
29 "columns",
30 "fullwidth",
31 "full-width",
32 "full",
33 "ansi",
34 "escape",
35 "codes",
36 "cli",
37 "command-line",
38 "terminal",
39 "console",
40 "cjk",
41 "chinese",
42 "japanese",
43 "korean",
44 "fixed-width"
45 ],
46 "dependencies": {
47 "emoji-regex": "^8.0.0",
48 "is-fullwidth-code-point": "^3.0.0",
49 "strip-ansi": "^6.0.0"
50 },
51 "devDependencies": {
52 "ava": "^1.4.1",
53 "tsd": "^0.7.1",
54 "xo": "^0.24.0"
55 }
56}