package.json
1 { 2 "name": "string-length", 3 "version": "4.0.2", 4 "description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", 5 "license": "MIT", 6 "repository": "sindresorhus/string-length", 7 "author": { 8 "name": "Sindre Sorhus", 9 "email": "sindresorhus@gmail.com", 10 "url": "https://sindresorhus.com" 11 }, 12 "engines": { 13 "node": ">=10" 14 }, 15 "scripts": { 16 "test": "xo && ava && tsd" 17 }, 18 "files": [ 19 "index.js", 20 "index.d.ts" 21 ], 22 "keywords": [ 23 "unicode", 24 "string", 25 "length", 26 "size", 27 "count", 28 "astral", 29 "symbol", 30 "surrogates", 31 "codepoints", 32 "ansi", 33 "escape", 34 "codes" 35 ], 36 "dependencies": { 37 "char-regex": "^1.0.2", 38 "strip-ansi": "^6.0.0" 39 }, 40 "devDependencies": { 41 "ava": "^3.1.0", 42 "tsd": "^0.11.0", 43 "xo": "^0.25.3" 44 } 45 }