intern-Assignment/db_connect/node_modules/window-size
2025-01-31 15:20:39 +05:30
..
index.js Intern-Assignments 2025-01-31 15:20:39 +05:30
LICENSE-MIT Intern-Assignments 2025-01-31 15:20:39 +05:30
package.json Intern-Assignments 2025-01-31 15:20:39 +05:30
README.md Intern-Assignments 2025-01-31 15:20:39 +05:30

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.