1.0.4 • Published 1 year ago

devices-viewport-size v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

devices-viewport-size

A list of common devices viewport size

Installation

npm i -S devices-viewport-size

Usage

import viewports from 'devices-viewport-size'

console.log(viewports['iPhone SE']) // { width: 375, height: 667 }

Devices

  • Desktop
  • Desktop Large
  • iPhone SE
  • iPhone XR
  • iPhone 12 Pro
  • Pixel 5
  • Galaxy S8+
  • Galaxy S20 Ultra
  • Pixel 2 XL
  • iPad Air
  • iPad Mini
  • Surface Pro 7
  • Surface Duo
  • Galaxy Fold
  • Galaxy A51/71
  • Nest Hub
  • Nest Hub Max

You can add more devices by contributing.

LICENSE

MIT