string-length v7.0.1

npm

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

Updated View on npm →
Version
7.0.1
115d ago
License
MIT
115d ago
Weekly Downloads
45.7M
103d ago
Dependencies
0
115d ago
Required Runtime
>=20
115d ago
Deprecated
No
115d ago

Weekly downloads

Release activity

1 release tracked. Last release: 116 days ago.

v7.0.1 current
v7.0.1 Mar 21, 2026

Last changed

Field Change When
weekly_downloads (none) 45651966 103d ago
latest_version (none) 7.0.1 116d ago
deprecated (none) false 116d ago
dep_count (none) 0 116d ago
required_runtime (none) >=20 116d ago
license (none) MIT 116d ago

Use it

REST API
$ curl
https://api.grounded-api.dev/v1/npm/string-length/latest_version
{ "value": "7.0.1" }
CLI
$ npx grounded-cli string-length
string-length@7.0.1 (npm)