Skip to content

godhaniyaarbham2000-spec/NodeJS-CLI-Project-Joke-Generator-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

😂 Joke Generator (Node.js CLI Tool)

A simple command-line based Joke Generator built using Node.js.
This project generates random jokes every time you run the program.


🚀 Features

  • Generates random jokes on each execution
  • Simple CLI-based interaction
  • Lightweight and fast Node.js project
  • No UI needed, runs directly in terminal

🛠️ Tech Stack

  • Node.js
  • JavaScript (ES Modules)
  • Random logic (Array-based joke system)

📂 Project Structure

NodeJS-CLI-Project-Joke-Generator/
│── jokegenerator.js
│── package.json
│── package-lock.json
│── .gitignore

⚙️ Installation

Clone the repository:

git clone https://github.com/godhaniyaarbham2000-spec/NodeJS-Project-Joke-Generator-.git

Go to project folder

cd NodeJS-CLI-Project-Joke-Generator

Install dependencies:

npm install

▶️ Usage

Run the project:

node jokegenerator.js

💻 Example Output

😂 Why don’t programmers like nature?
Because it has too many bugs!


⚠️ Notes

  • Jokes are randomly selected from a predefined list
  • Each run shows a different joke

📌 Future Improvements

  • Add API-based real jokes
  • Add joke categories (programming, general, etc.)
  • Add interactive menu system

👨‍💻 Author

Arbham Godhaniya
MERN Stack Developer

About

A simple Node.js command-line application that generates random jokes every time it runs. It uses a predefined set of jokes and displays one randomly in the terminal, providing a fun and interactive CLI experience without any UI or external dependencies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors