Simple function which tells if your code is running on a high DPR device or not
npm install is-retina
var isRetina = require('is-retina'); isRetina()// Returns true on a "retina" device and false on a normal one.
Manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…
how? learn more