# is-retina

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

Latest version **1.0.3** (published 2014-12-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-retina
pnpm add is-retina
yarn add is-retina
bun add is-retina
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2014-12-11 |
| First published | 2014-12-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Kyle Mathews |
| Maintainers | kylemathews |
| Keywords | retina, dpr, device-pixel-ratio |

## Links

- npm: https://www.npmjs.com/package/is-retina
- Repository: https://github.com/KyleAMathews/isRetina
- Issues: https://github.com/KyleAMathews/isRetina/issues
- npm.io page: https://npm.io/package/is-retina

## Recent versions

- 1.0.3 (latest) — 2014-12-11
- 1.0.2 — 2014-12-10
- 1.0.1 — 2014-12-10
- 1.0.0 — 2014-12-10

## README

isRetina
========

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

## Install
`npm install is-retina`

## Usage
```javascript
var isRetina = require('is-retina');

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

---
_Source: https://npm.io/package/is-retina · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
