lurq

npm package

Home

terminal-size

The terminal-size package reliably retrieves the terminal window size, including the number of columns and rows. It is particularly useful in non-interactive environments where standard methods may fail, such as child processes or when output is piped. This module is compatible with macOS, Linux, and Windows.

lurq health score
67/100
Confidence
proven
Weekly downloads
3,297,092
Latest version
4.0.1
Last release
Feb 2, 2026
License
MIT

Should you depend on terminal-size?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks terminal-size 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 6, 2026; this page refreshes every 24 hours. Source repository.