1 # window-size [![NPM version](https://badge.fury.io/js/window-size.png)](http://badge.fury.io/js/window-size)
\r
3 > Reliable way to to get the height and width of the terminal/console in a node.js environment.
\r
10 npm i window-size --save
\r
14 var size = require('window-size');
\r
15 size.height; // "80" (rows)
\r
16 size.width; // "25" (columns)
\r
21 + [github/jonschlinkert](https://github.com/jonschlinkert)
\r
22 + [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
\r
25 Copyright (c) 2014 Jon Schlinkert
\r
26 Licensed under the MIT license.