isRetina
Simple function which tells if your code is running on a high DPR device or not
Install
npm install is-retina
Usage
var isRetina = ; // Returns true on a "retina" device and false on a normal one.
Simple function which tells if your code is running on a high DPR device or not
npm install is-retina
var isRetina = ; // Returns true on a "retina" device and false on a normal one.
npm i is-retina
124,771
1.0.3
MIT