Generate random jokes using the JokeAPI.
const { getJoke } = require("jokes.js");
(async () => {
console.log(await getJoke());
})();
const { getJokes } = require("jokes.js");
(async () => {
console.log(
await getJokes({
amount: 2,
})
);
})();