quick-quiz
v1.0.1
Published
Quick Quiz CLI is a command-line interface (CLI) package that allows users to take quizzes right from their terminal. It utilizes the Open Trivia Database (opentdb) API to fetch questions on various topics.
Downloads
6
Readme
Quick Quiz CLI
Quick Quiz CLI is a command-line interface (CLI) package that allows users to take quizzes right from their terminal. It utilizes the Open Trivia Database (opentdb) API to fetch questions on various topics.
Installation
You can run Quick Quiz directly using npx without installing it globally:
npx quick-quiz
Features
- Multiple Categories: Choose from a variety of quiz categories such as General Knowledge, Science, History, and more.
- Customizable: Specify the difficulty level of the quiz.
- Educational: Learn new facts and trivia while having fun.
Usage
Run the following command in your terminal:
npx quick-quiz
Follow the on-screen prompts to select quiz categories, and the difficulty level. Answer each question by selecting the corresponding option using up down keys and press Enter. At the end of the quiz, your total score will be displayed.
License
This project is licensed under the MIT License.
Contributing
Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests to improve this project.