# window-size [](http://badge.fury.io/js/window-size)> Reliable way to to get the height and width of the terminal/console in a node.js environment.## Install### [npm](npmjs.org)```bashnpm i window-size --save``````javascriptvarsize=require('window-size');size.height;// "80" (rows)size.width;// "25" (columns)```## Author+[github/jonschlinkert](https://github.com/jonschlinkert)+[twitter/jonschlinkert](http://twitter.com/jonschlinkert)## LicenseCopyright (c) 2014 Jon SchlinkertLicensed under the MIT license.