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.
b0b64a865d | 9 years ago | |
---|---|---|
.. | ||
LICENSE-MIT | 9 years ago | |
README.md | 9 years ago | |
index.js | 9 years ago | |
package.json | 9 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.