just-joke
TypeScript icon, indicating that this package has built-in type declarations

1.1.16 • Public • Published

just-joke

This is a simple package that just get a random api, including chuck norris joke


User Guide

Using the npm package manager

npm i -D just-joke

Using case

import { getJoke, category } from "just-joke";

// Get a random joke
const joke = getJoke();

// Get a random joke, using category
const targetJoke = getJoke(category[0]);

Api Reference

https://api.chucknorris.io/

Package Sidebar

Install

npm i just-joke

Weekly Downloads

35

Version

1.1.16

License

MIT

Unpacked Size

4.64 kB

Total Files

8

Last publish

Collaborators

  • juicypark