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/

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.16
    15
    • latest

Version History

Package Sidebar

Install

npm i just-joke

Weekly Downloads

20

Version

1.1.16

License

MIT

Unpacked Size

4.64 kB

Total Files

8

Last publish

Collaborators

  • juicypark