npm package
Homecli-width
cli-width is a utility for obtaining the width of the stdout window, providing multiple fallbacks to ensure a reliable value. It is useful in applications that need to format output based on the terminal's width. This package can help enhance the user experience in command-line interfaces by adapting to different terminal sizes.
- lurq health score
- 46/100
- Confidence
- unproven
- Weekly downloads
- 75,978,643
- Latest version
- 4.1.0
- Last release
- Feb 15, 2016
- License
- ISC
Should you depend on cli-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 cli-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
Upgrading cli-width
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 3.0.0 → 4.1.0being extracted
- 2.2.1 → 3.0.0being extracted
- 1.1.1 → 2.2.1being extracted
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- puppeteer94/100 · proven
- puppeteer-core93/100 · proven
- @opentelemetry/sdk-trace92/100 · emerging
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 5, 2026; this page refreshes every 168 hours. Source repository.