npm package
Homeutf8-byte-length
utf8-byte-length is a utility for calculating the UTF-8 byte length of a string, accounting for multi-byte characters and surrogate pairs. It is useful in applications where precise byte length is required for string manipulation or storage. This package can be used in both Node.
- lurq health score
- 40/100
- Confidence
- unproven
- Weekly downloads
- 8,657,622
- Latest version
- 1.0.5
- Last release
- May 14, 2024
- License
- (WTFPL OR MIT)
Should you depend on utf8-byte-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 utf8-byte-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
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- @puppeteer/browsers94/100 · proven
- puppeteer-core94/100 · proven
- puppeteer94/100 · proven
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.