1.0.3 • Published 9 years ago

is-retina v1.0.3

Weekly downloads
82,419
License
MIT
Repository
github
Last release
9 years ago

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.