--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
26
node_modules/window-size/README.md
generated
vendored
Normal file
26
node_modules/window-size/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# 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.
|
||||
Loading…
Reference in a new issue