Get the dankest memes from reddit

Usage no npm install needed!

<script type="module">
  import dankmemes from 'https://cdn.skypack.dev/dankmemes';


Pull the image URLs of the dankest memes for use in your website, app, etc

To install:

npm install dankmemes


var memes = require('dankmemes');
memes('day', 2, function(err, data) {
    console.log("The 2 most dankest memes of the day: " + JSON.stringify(data));


(timeLimit, numLimit, callback)

timeLimit can be hour, day, week, month, year, all
numLimit can be any number
callback will either have an error or data: see above