Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 523 Bytes

README.md

File metadata and controls

26 lines (24 loc) · 523 Bytes

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()