terminal-size
Reliably get the terminal window size.
Pricing
Free tier
Flat rate
Adoption
↘CoolingLicense
Open Source
Data freshness
Aging · Jun 8, 2026Overview
What is terminal-size?
terminal-size is a reliable tool for developers to accurately determine the dimensions of their terminal window. This utility ensures consistent behavior across different operating systems and environments, making it an essential component for applications that need precise terminal sizing information.
Key differentiator
“terminal-size stands out by providing a simple, reliable solution for detecting terminal window dimensions across different operating systems and environments.”
Capability profile
Capability Radar
Honest assessment
Strengths & Weaknesses
↑ Strengths
↓ Weaknesses
The tool is primarily designed for JavaScript/Node.js, which may limit its utility in environments that do not use these languages.
Given the open-source nature of terminal-size, there might be fewer contributors and less comprehensive documentation compared to more popular tools.
The tool's simplicity means it may not handle edge cases or highly complex terminal configurations as efficiently as specialized solutions.
Fit analysis
Who is it for?
✓ Best for
CLI application developers who require precise control over how content is displayed within a terminal window.
Developers working on cross-platform applications that need to adapt to varying terminal sizes.
✕ Not a fit for
Projects where the exact terminal size is not critical for functionality or display.
Applications that do not interact with the terminal environment directly.
Cost structure
Pricing
Free Tier
Available
Open source — free to use
Starts at
$0
Model
Flat rate
Enterprise
None
Performance benchmarks
How Fast Is It?
Ecosystem
Relationships
Next step
Get Started with terminal-size
Step-by-step setup guide with code examples and common gotchas.