1# window-size [![NPM version](https://badge.fury.io/js/window-size.png)](http://badge.fury.io/js/window-size) 2 3> Reliable way to to get the height and width of the terminal/console in a node.js environment. 4 5## Install 6 7### [npm](npmjs.org) 8 9```bash 10npm i window-size --save 11``` 12 13```javascript 14var size = require('window-size'); 15size.height; // "80" (rows) 16size.width; // "25" (columns) 17``` 18 19## Author 20 21+ [github/jonschlinkert](https://github.com/jonschlinkert) 22+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) 23 24## License 25Copyright (c) 2014 Jon Schlinkert 26Licensed under the MIT license.