Tennessee Gibbs 0304752480 added pages to master | 6 gadus atpakaļ | |
---|---|---|
.. | ||
LICENSE-MIT | 6 gadus atpakaļ | |
README.md | 6 gadus atpakaļ | |
index.js | 6 gadus atpakaļ | |
package.json | 6 gadus atpakaļ |
Reliable way to to get the height and width of the terminal/console in a node.js environment.
npm i window-size --save
var size = require('window-size');
size.height; // "80" (rows)
size.width; // "25" (columns)
Copyright (c) 2014 Jon Schlinkert Licensed under the MIT license.