All Projects → KyleAMathews → isRetina

KyleAMathews / isRetina

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

Programming Languages

javascript
184084 projects - #8 most used programming language

isRetina

Simple function which determines 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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].