|
11 months ago | |
---|---|---|
.. | ||
LICENSE | 11 months ago | |
README.md | 11 months ago | |
cli.js | 11 months ago | |
index.js | 11 months ago | |
package.json | 11 months ago |
Reliable way to to get the height and width of the terminal/console in a node.js environment.
Install with npm
$ npm i window-size --save
var size = require('window-size');
size.height; // "25" (rows)
size.width; // "80" (columns)
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2014-2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on November 15, 2015.