random-memes
TypeScript icon, indicating that this package has built-in type declarations

3.2.6Β β€’Β PublicΒ β€’Β Published

🌁 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

Package Sidebar

Install

npm i random-memes

Weekly Downloads

59

Version

3.2.6

License

MIT

Unpacked Size

7.06 kB

Total Files

16

Last publish

Collaborators

  • halitsever