codeMan 0c1219796a 测试提交 há 1 ano atrás
..
LICENSE-MIT 0c1219796a 测试提交 há 1 ano atrás
README.md 0c1219796a 测试提交 há 1 ano atrás
index.js 0c1219796a 测试提交 há 1 ano atrás
package.json 0c1219796a 测试提交 há 1 ano atrás

README.md

window-size NPM version

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

Install

npm

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

Author

License

Copyright (c) 2014 Jon Schlinkert Licensed under the MIT license.