npm package
Homestring-width
string-width is a utility for measuring the visual width of strings, accounting for fullwidth Unicode characters and stripping ANSI escape codes. It is useful for ensuring proper formatting in command-line outputs. This package helps developers accurately display text in terminal applications.
- lurq health score
- 73/100
- Confidence
- proven
- Weekly downloads
- 508,567,931
- Latest version
- 8.2.2
- Last release
- Jul 8, 2026
- License
- MIT
Should you depend on string-width?
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-width 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 5, 2026; this page refreshes every 24 hours. Source repository.