string-length

npmv7.0.1

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

License: MIT16 versions1 maintainers0 deps44,867,216 weekly downloads
sindresorhus/string-length
76
/100
Health Score

Recommendation

[email protected] is safe to use (health: 76/100)

Health Breakdown

20/25
maintenance
20/20
popularity
25/25
security
9/15
maturity
2/15
community

Vulnerabilities

No known vulnerabilities in the latest version.

API Access

Get this data programmatically — free, no authentication required:

curl https://depscope.dev/api/check/npm/string-length

First published: 2014-04-16T21:49:45.503Z

Last updated: 2026-01-21T14:39:13.979Z

Data from DepScope — Package Intelligence for AI Agents

string-length — Health Score 76/100 | DepScope