screenz
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Screenz Travis CI Build Status

Get the current screen size.

NPM Badge

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.

Readme

Keywords

none

Package Sidebar

Install

npm i screenz

Weekly Downloads

13

Version

1.0.0

License

MIT

Unpacked Size

2.67 kB

Total Files

7

Last publish

Collaborators

  • richienb