65 lines
1.1 KiB
JSON
65 lines
1.1 KiB
JSON
{
|
|
"name": "string-width",
|
|
"version": "7.2.0",
|
|
"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": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
},
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"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",
|
|
"east-asian-width"
|
|
],
|
|
"dependencies": {
|
|
"emoji-regex": "^10.3.0",
|
|
"get-east-asian-width": "^1.0.0",
|
|
"strip-ansi": "^7.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^5.3.1",
|
|
"tsd": "^0.29.0",
|
|
"xo": "^0.56.0"
|
|
}
|
|
}
|