zkt25/Backend/node_modules/window-size
Andrii Pervashov d1b27aff06 initial commit
2025-03-16 16:17:44 +01:00
..
index.js initial commit 2025-03-16 16:17:44 +01:00
LICENSE-MIT initial commit 2025-03-16 16:17:44 +01:00
package.json initial commit 2025-03-16 16:17:44 +01:00
README.md initial commit 2025-03-16 16:17:44 +01:00

window-size NPM version

Reliable way to to get the height and width of the terminal/console in a node.js environment.

Install

npm

npm i window-size --save
var size = require('window-size');
size.height; // "80" (rows)
size.width; // "25" (columns)

Author

License

Copyright (c) 2014 Jon Schlinkert Licensed under the MIT license.