| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| LICENSE-MIT | D | 24-Sep-2023 | 1.1 KiB | 23 | 19 | |
| README.md | D | 24-Sep-2023 | 624 | 26 | 18 | |
| index.js | D | 24-Sep-2023 | 851 | 33 | 23 | |
| package.json | D | 24-Sep-2023 | 785 | 33 | 33 |
README.md
1# window-size [](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.