Sha256: 3b399bf0590af9e6fb9c9e588fd43ef3135281dbd344d6ba2bddef0bd7be2be3
Contents?: true
Size: 624 Bytes
Versions: 15
Compression:
Stored size: 624 Bytes
Contents
# 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) ```bash npm i window-size --save ``` ```javascript var size = require('window-size'); size.height; // "80" (rows) size.width; // "25" (columns) ``` ## Author + [github/jonschlinkert](https://github.com/jonschlinkert) + [twitter/jonschlinkert](http://twitter.com/jonschlinkert) ## License Copyright (c) 2014 Jon Schlinkert Licensed under the MIT license.
Version data entries
15 entries across 15 versions & 8 rubygems