Simple util to detect the screen-type.
It might be on of:
Standard
SD
HD
FullHD
UltraHD
QuadHD
Retina
$ npm install --save screen-type
var screenType = require('screen-type');
screenType.HD //true.
Object.keys(screenType);
// ["Standard", "SD", "HD", "FullHD", "UltraHD", "QuadHD", "Retina"]
MIT © Hemanth.HM