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

1.0.0 • Public • Published

New Jokes

A simple npm package that generates New Jokes. Perfect for adding some humor to your project.

Installation

You can install the new_jokes package via npm:

npm install new_jokes

After installing, you can use the getJokes function to generate a random joke. Here's how:
// Import the package
const { getJokes } = require('new_jokes');

// Get a random joke  
console.log(getJokes());

Example

const { getJokes } = require('random-jokes');

console.log(getJokes());
// Output: "I’m reading a book about anti-gravity. It’s impossible to put down."

Package Sidebar

Install

npm i new_jokes

Weekly Downloads

5

Version

1.0.0

License

ISC

Unpacked Size

5.48 kB

Total Files

7

Last publish

Collaborators

  • shiva0044