npm · npm:window-size
window-size active
Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.
The latest stable version of window-size is 1.1.1, published on 2018-07-27. Verified by Vigia on 2026-11-12.
| Latest stable version | 1.1.1 |
|---|---|
| Published | 2018-07-27 20:21:10 UTC |
| Install | npm install window-size@latest |
| Requires (engines) | {"node":">= 0.10.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 1.1.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 15:54:53 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2018-07-27 20:21:10 UTC · 3030 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 10 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.1.1 | 2018-07-27 20:21:10 UTC |
1.1.0 | 2017-06-23 15:14:32 UTC |
1.0.0 | 2017-05-07 08:15:26 UTC |
0.3.0 | 2016-12-10 18:21:09 UTC |
0.2.0 | 2016-01-26 23:02:04 UTC |
0.1.4 | 2015-11-15 19:34:44 UTC |
0.1.3 | 2015-11-15 19:28:15 UTC |
0.1.2 | 2015-07-03 08:31:59 UTC |
0.1.1 | 2015-06-07 14:26:37 UTC |
0.1.0 | 2014-02-15 03:41:48 UTC |
Showing the 10 most recent of 10 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 1.1.1 |
node 18 | 1.1.1 |
node 20 | 1.1.1 |
node 22 | 1.1.1 |
node 24 | 1.1.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of window-size?
The latest stable version of window-size is 1.1.1, published on 2018-07-27. Verified by Vigia on 2026-11-12.
How do I install the latest version of window-size?
Run npm install window-size@latest. The latest stable version is 1.1.1 (verified 2026-11-12).
Is window-size deprecated?
No. window-size is not marked as deprecated in the registry.
Which Node.js version does window-size require?
window-size 1.1.1 declares this requirement: {"node":">= 0.10.0"}.
Does window-size 1.1.1 have known vulnerabilities?
No known advisories affect window-size 1.1.1 according to the data Vigia checks.
Is window-size still maintained?
window-size published 0 stable releases in the last 12 months; the most recent was 3030 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @parcel/watcher-linux-arm64-glibc
- @types/pluralize
- @npmcli/metavuln-calculator
- abs-svg-path
- @astrojs/compiler
- testcontainers
- @mui/x-internals
- debounce-fn
- @datadog/datadog-ci
- make-iterator
- @agentclientprotocol/sdk
- graphlib
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/window-size) [](https://vigia.coredls.cloud/npm/window-size) [](https://vigia.coredls.cloud/npm/window-size)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/window-size
GET https://vigia.coredls.cloud/v1/packages/npm/window-size/versions/{version}