{"name":"string-length","version":"7.0.0","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":"f67ad3db7575645395e2def63ae4b4631c06eabe","types":"./index.d.ts","_id":"string-length@7.0.0","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":"7fc97a5dc794b65987ba0ab4d7e2062314f368b9","size":2005,"noattachment":false,"key":"/string-length/-/string-length-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/string-length/download/string-length-7.0.0.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.0_1768964026600_0.3254909190377737"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-21T02:53:46.773Z","publish_time":1768964026773,"_source_registry_name":"default","_cnpm_publish_time":1768964026773,"dist-tags":{"latest":"7.0.1"}}