new_jokes
v1.0.0
Published
A simple npm package that generates New Jokes. Perfect for adding some humor to your project.
Maintainers
Readme
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."