Illia Kozyr c722a49f64 React Project DONE | 2 tahun lalu | |
---|---|---|
.. | ||
LICENSE-MIT | 2 tahun lalu | |
README.md | 2 tahun lalu | |
index.js | 2 tahun lalu | |
package.json | 2 tahun lalu |
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.