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

1.0.0 • Public • Published

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)' }
  // ]

});

Readme

Keywords

none

Package Sidebar

Install

npm i screen-resolutions

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.65 kB

Total Files

5

Last publish

Collaborators

  • saehun