lurq

npm package

Home

string-length

string-length is a utility for accurately measuring the length of strings by counting astral symbols as one character and ignoring ANSI escape codes. It is useful in applications where precise string length calculations are necessary, such as in terminal applications or text processing. This package helps ensure that string lengths are reported correctly for display or manipulation.

lurq health score
64/100
Confidence
proven
Weekly downloads
53,088,861
Latest version
7.0.1
Last release
Jan 21, 2026
License
MIT

Should you depend on string-length?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks string-length at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other utility packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 7, 2026; this page refreshes every 24 hours. Source repository.