screen-resolution

1.0.0 • Public • Published

For Linux you should have imagemagick installed.

Simple example:

var resolution = require("screen-resolution");
resolution.get().then(result => console.log(result));

By default it caches result. In order to clear:

resolution.clear();

Or disable cache:

resolution.get(false);

Readme

Keywords

none

Package Sidebar

Install

npm i screen-resolution

Weekly Downloads

2

Version

1.0.0

License

GPL-2.0

Last publish

Collaborators

  • schipiga