lurq

npm package

Home

widest-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
64/100
Confidence
proven
Weekly downloads
39,183,907
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

Other utility packages lurq scores

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