Skip to content

halitsever/random-memes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

37 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation


๐ŸŒ Random reddit & custom api meme genarator and custom meme maker module for node.js


Documentation

  • ๐Ÿง‘โ€๐Ÿ’ป 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);
};

MIT LICENSE 2019-present | Halit Sever