{"name":"string-length","version":"7.0.1","description":"Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/string-length.git"},"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":">=20"},"scripts":{"test":"xo && ava"},"keywords":["unicode","string","length","size","count","astral","symbol","surrogates","codepoints","ansi","escape","codes"],"devDependencies":{"ava":"^6.4.1","xo":"^1.2.3"},"gitHead":"92065dcd97fa5c6046a6f846e334dc151d52b016","types":"./index.d.ts","_id":"string-length@7.0.1","bugs":{"url":"https://github.com/sindresorhus/string-length/issues"},"homepage":"https://github.com/sindresorhus/string-length#readme","_nodeVersion":"25.3.0","_npmVersion":"11.7.0","dist":{"shasum":"246c6bb47fcca6edd58b0032d88d8ec52a11f813","size":2048,"noattachment":false,"key":"/string-length/-/string-length-7.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-length/download/string-length-7.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/string-length_7.0.1_1769006353820_0.7863352572336655"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-21T14:39:13.979Z","publish_time":1769006353979,"_source_registry_name":"default","_cnpm_publish_time":1769006353979,"dist-tags":{"latest":"7.0.1"}}