npm package
Homewidest-line
The widest-line package calculates the visual width of the widest line in a string, accounting for fullwidth Unicode characters and stripping ANSI escape codes. It is useful for determining how much space a string will occupy in a terminal display.
- lurq health score
- 62/100
- Confidence
- proven
- Weekly downloads
- 28,173,827
- Latest version
- 6.0.0
- Last release
- Jan 24, 2026
- License
- MIT
Should you depend on widest-line?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks widest-line 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
Upgrading widest-line
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 5.0.0 → 6.0.0being extracted
- 4.0.1 → 5.0.0being extracted
- 3.1.0 → 4.0.1being extracted
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 20, 2026; this page refreshes every 168 hours. Source repository.