Vigia

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.

Latest stable version1.1.1
Published2018-07-27 20:21:10 UTC
Requires (engines){"node":">= 0.10.0"}
Peer dependencies—
Dist-tagslatest: 1.1.1
LicenseMIT
Advisories on latest versionnone known
Last verified2026-09-28 09:00:37 UTC
Sourcesregistry.npmjs.org, api.deps.dev, registry.npmjs.org

Observed changes

No changes observed yet since Vigia started tracking this package.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/window-size