Autoscale-canvas Retina-enable an HTML canvas according to devicePixelRatio. Installation $ component install component/autoscale-canvas API var autoscale = require('autoscale-canvas'); autoscale(document.querySelector('canvas')); License MIT