Vigia

npm · npm:string-length

string-length active

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

Latest stable version7.0.1
Published2026-01-21 14:39:13 UTC
Requires (engines){"node":">=20"}
Peer dependencies—
Dist-tagslatest: 7.0.1
LicenseMIT
Advisories on latest versionnone known
Last verified2026-09-28 08:51:58 UTC
Sourcesregistry.npmjs.org, api.deps.dev, registry.npmjs.org

Observed changes

No changes observed yet since Vigia started tracking this package.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/string-length