You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michael Winter 555e2c196e | 6 years ago | |
---|---|---|
.. | ||
LICENSE-MIT | 6 years ago | |
README.md | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 years ago |
README.md
window-size
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.