1
0
mirror of https://github.com/thangisme/notes.git synced 2024-10-31 20:57:26 -04:00
notes/node_modules/window-size
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00
..
cli.js Initial commit 2017-03-09 13:16:08 -05:00
index.js Initial commit 2017-03-09 13:16:08 -05:00
LICENSE Initial commit 2017-03-09 13:16:08 -05:00
package.json Initial commit 2017-03-09 13:16:08 -05:00
README.md Initial commit 2017-03-09 13:16:08 -05:00

window-size NPM version Build Status

Reliable way to to get the height and width of the terminal/console in a node.js environment.

Install

Install with npm

$ npm i window-size --save

Usage

var size = require('window-size');
size.height; // "25" (rows)
size.width; // "80" (columns)

Other projects

  • base-cli: Plugin for base-methods that maps built-in methods to CLI args (also supports methods from a… more | homepage
  • lint-deps: CLI tool that tells you when dependencies are missing from package.json and offers you a… more | homepage
  • yargs: Light-weight option parsing with an argv hash. No optstrings attached. | homepage

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2014-2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on November 15, 2015.