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