You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
801 B

{
"name": "string-length",
"version": "4.0.2",
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes",
"license": "MIT",
"repository": "sindresorhus/string-length",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"engines": {
"node": ">=10"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"unicode",
"string",
"length",
"size",
"count",
"astral",
"symbol",
"surrogates",
"codepoints",
"ansi",
"escape",
"codes"
],
"dependencies": {
"char-regex": "^1.0.2",
"strip-ansi": "^6.0.0"
},
"devDependencies": {
"ava": "^3.1.0",
"tsd": "^0.11.0",
"xo": "^0.25.3"
}
}