1.0.0 • Published 3 years ago
screen-resolutions v1.0.0
ScreenResolutions
Get screen resolutions
import { resolutions } from 'screen-resolutions'
(async () => {
console.log(await resolutions());
// [
// { w: 3072, h: 1920, monitor: 'Retina' },
// { w: 2560, h: 1080, monitor: '(UW-UXGA - Ultra Wide - Ultra Extended Graphics Array)' }
// ]
});
1.0.0
3 years ago