lepu-test-platform-web/node_modules/window-size
zhangbo db3ebd0df0 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
..
LICENSE-MIT 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
README.md 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
index.js 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00
package.json 把之前百度云的代码移植过来 2024-01-03 15:23:47 +08:00

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.