Eric Foster d5378345de connection between front end and database | vor 6 Jahren | |
---|---|---|
.. | ||
LICENSE-MIT | vor 6 Jahren | |
README.md | vor 6 Jahren | |
index.js | vor 6 Jahren | |
package.json | vor 6 Jahren |
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.