is-retina

Simple function which determines if your code is running on a high DPR device or not

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
is-retina
2301.0.38 years ago8 years agoMinified + gzip package size for is-retina in KB

Readme

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 = require('is-retina');

isRetina()
// Returns true on a "retina" device and false on a normal one.