summaryrefslogtreecommitdiff
path: root/node_modules/window-size/README.md
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-15 09:23:31 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-15 09:23:31 +0800
commitbe4d8a9462de720e6b22cf291860cf4a87e066ae (patch)
tree423bb8ad04d05f3ca47d67141bad6d536f2aef43 /node_modules/window-size/README.md
parentb5134a5a8d953fd741a17536959293ba855ffd66 (diff)
updates
Diffstat (limited to 'node_modules/window-size/README.md')
-rw-r--r--node_modules/window-size/README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/node_modules/window-size/README.md b/node_modules/window-size/README.md
new file mode 100644
index 00000000..1abfdb52
--- /dev/null
+++ b/node_modules/window-size/README.md
@@ -0,0 +1,26 @@
+# window-size [![NPM version](https://badge.fury.io/js/window-size.png)](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. \ No newline at end of file