screen-type

1.0.0 • Public • Published

screen-type Build Status

Simple util to detect the screen-type.

It might be on of:

  • Standard

  • SD

  • HD

  • FullHD

  • UltraHD

  • QuadHD

  • Retina

Install

$ npm install --save screen-type

Usage

var screenType = require('screen-type');
 
screenType.HD //true.
 
Object.keys(screenType);
 
// ["Standard", "SD", "HD", "FullHD", "UltraHD", "QuadHD", "Retina"]

License

MIT © Hemanth.HM

Package Sidebar

Install

npm i screen-type

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • hemanth