Skip to content

Latest commit

 

History

History
72 lines (55 loc) · 1.73 KB

README.md

File metadata and controls

72 lines (55 loc) · 1.73 KB


🌁 Random reddit & custom api meme genarator and custom meme maker module for node.js


Documentation

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