Innovenergy_trunk/frontend/node_modules/device-specs
Kim 085d7c68ba adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
..
.github adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
README.md adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
devices.md adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
emulated-devices.json adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
index.js adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
package.json adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
update.js adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
utils.js adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
viewport-sizes.json adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00

README.md

device-specs

Installation

npm install device-specs

Usage

const {
    emulatedDevices,
    viewportSizes,
    getDevicesViewportData,
    getViewportSize,
    isValidDeviceName
} = require('device-specs');

List of known devices

See devices.md.