• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "author": {
3    "name": "Sindre Sorhus",
4    "email": "sindresorhus@gmail.com",
5    "url": "sindresorhus.com"
6  },
7  "bugs": {
8    "url": "https://github.com/sindresorhus/string-width/issues"
9  },
10  "bundleDependencies": false,
11  "dependencies": {
12    "emoji-regex": "^8.0.0",
13    "is-fullwidth-code-point": "^3.0.0",
14    "strip-ansi": "^6.0.0"
15  },
16  "deprecated": false,
17  "description": "Get the visual width of a string - the number of columns required to display it",
18  "devDependencies": {
19    "ava": "^1.4.1",
20    "tsd": "^0.7.1",
21    "xo": "^0.24.0"
22  },
23  "engines": {
24    "node": ">=8"
25  },
26  "files": [
27    "index.js",
28    "index.d.ts"
29  ],
30  "homepage": "https://github.com/sindresorhus/string-width#readme",
31  "keywords": [
32    "string",
33    "character",
34    "unicode",
35    "width",
36    "visual",
37    "column",
38    "columns",
39    "fullwidth",
40    "full-width",
41    "full",
42    "ansi",
43    "escape",
44    "codes",
45    "cli",
46    "command-line",
47    "terminal",
48    "console",
49    "cjk",
50    "chinese",
51    "japanese",
52    "korean",
53    "fixed-width"
54  ],
55  "license": "MIT",
56  "name": "string-width",
57  "repository": {
58    "type": "git",
59    "url": "git+https://github.com/sindresorhus/string-width.git"
60  },
61  "scripts": {
62    "test": "xo && ava && tsd"
63  },
64  "version": "4.2.0"
65}