1.0.0 • Published 7 years ago
screen-resolution v1.0.0
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);
1.0.0
7 years ago