Introduction

A NodeJS wrapper/client for the JokeAPI made by Sv443

For up to date paramaters, values, options checkout their documentation

Features

Categories
Blacklists
Languages
Formatting
Safemode

Simple Example

index.js
// Import the wrapper library
import JokeAPI from '@qgisk/jokeapi-wrapper'

// Initiate the client
const JokeClient = new JokeAPI();

// Create a function that gets a joke
const get = async () => {
  const joke = await JokeClient.getJoke();
  console.log(joke);
};

// Execute the function
get();
Edit this page on GitHub Updated at Fri, Dec 10, 2021