Network Pipe Manufacturer
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    is-retinapublic

    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. 

    install

    npm i is-retina

    Downloadslast 7 days

    15,364

    version

    1.0.3

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar