1.0.0 • Published 4 years ago

jeja-api v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Jeja-api

What is it?

This is simple unofficial jeja wrapper to get random memes and jokes.

Examples

Get random meme

const jeja = require("jeja-api");
const test = async () => {
    const meme = await jeja.randomMeme();
    console.log(meme);
    // -> { image: imageUrl, name: memeName}
}
test()

Get random joke

const jeja = require("jeja-api");
const test = async () => {
    const joke = await jeja.randomJoke();
    console.log(joke);
    // -> joke text
}
test()