Simple module for deno to fetch memes from a subreddit.
import memer from "https://deno.land/x/memes/mod.ts";
const meme = await memer("me_irl");
console.log(`Found ${meme.imageURL}`);
You need to run your code with --allow-net
flag.
$ deno run --allow-net <your_file_name>