This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

jokes.js
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

jokes.js

Generate random jokes using the JokeAPI.

Usage

Get one joke

const { getJoke } = require("jokes.js");

(async () => {
  console.log(await getJoke());
})();

Get a list of jokes

const { getJokes } = require("jokes.js");

(async () => {
  console.log(
    await getJokes({
      amount: 2,
    })
  );
})();

Readme

Keywords

none

Package Sidebar

Install

npm i jokes.js

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

21.9 kB

Total Files

13

Last publish

Collaborators

  • nottca