string-length

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

7.0.1Latest, 21 Jan 2026
298MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
172Stars
3.7/10OpenSSF Scorecard

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.