random-memes
v3.2.6
Published
๐ Random meme genarator package with reddit & custom api support
Downloads
463
Maintainers
Readme
๐งโ๐ป Reddit Support - You can fetch random memes on reddit
๐๏ธ Text and Image - Get random memes as text & image
Installation:
npm install random-memes --save
Get random meme:
const memes = require("random-memes");
const fetchMeme = async () => {
const meme = await memes.random();
console.log(meme);
};
Get random meme from reddit:
const memes = require("random-memes");
const fetchMeme = async () => {
const meme = await memes.reddit({ locale: "en" });
console.log(meme);
};