turn imgur urls into image urls
This tiny library converts imgur album and image urls into direct image links. It is based on hortinstein's orginal impurge library. This has been remixed to work in both the browser and node.js environments.
To install via npm:
$ npm install impurge-remix
Otherwise, download this repo as a zip and include the
impurge.min.js where ever you might need it.
var impurge = require"impurge"; // Only necesary in node.js. In browsers, impurge is already available.impurgepurge""if err console.errorerr;else console.logimages;;