Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/halitsever/random-memes

🌁 Random meme genarator package with reddit & custom api support
https://github.com/halitsever/random-memes

meme-creator meme-maker random-memes

Last synced: 7 days ago
JSON representation

🌁 Random meme genarator package with reddit & custom api support

Awesome Lists containing this project

README

        



🌁 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:

```bash
npm install random-memes --save
```

Get random meme:

```javascript
const memes = require("random-memes");

const fetchMeme = async () => {
const meme = await memes.random();
console.log(meme);
};
```

Get random meme from reddit:

```javascript
const memes = require("random-memes");

const fetchMeme = async () => {
const meme = await memes.reddit({ locale: "en" });
console.log(meme);
};
```








MIT LICENSE 2019-present | Halit Sever