1.0.0 • Published 4 years ago
screenz v1.0.0
Screenz
Get the current screen size.
Install
npm install screenz
Usage
const { width, height } = require("screenz");
console.log(width);
//=> 1920
console.log(height);
//=> 1080
API
screenz.width
Type: number
The screen width.
screenz.height
Type: number
The screen height.
1.0.0
4 years ago