mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 13:56:05 +08:00
599 B
Executable File
599 B
Executable File
window-size 
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.