npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

smart-byte-quiz

v0.0.2

Published

Waiting for CI/CD pipeline? Or perhaps tests are taking too long? While waiting, enjoy yourself with some fun trivia.

Downloads

7

Readme

Smart Byte Quiz CLI Tool

Smart Byte Quiz is an npm CLI tool designed for developers to enjoy trivia quizzes conveniently, whether during compilation, CI/CD pipelines, or while running tests. It fetches trivia questions from 'The Trivia API', offering a customizable quiz experience tailored to your preferences.

Features

  • Customizable Quizzes : Configure settings such as difficulty levels, number of questions per quiz, and allowed categories.
  • Wide Range of Topics : Enjoy quizzes from a variety of categories provided by 'The Trivia API'.
  • Persistent Configuration : Settings are stored in a smart-byte-quiz_config.json file in your home directory, allowing easy customization.

Usage

  1. Installation :
npm install -g smart-byte-quiz
  1. Running the Tool :
npx smart-byte-quiz

This command initializes the tool and opens the settings menu where you can configure:

  • Difficulty Levels: Choose from easy, medium, or hard. (Default: [])
  • Number of Questions: Set the desired number of questions per quiz (1 to 50). (Default: 10)
  • Allowed Categories: Select from available categories below. (Default: [])
    • music
    • sport_and_leisure
    • film_and_tv
    • arts_and_literature
    • history
    • society_and_culture
    • science
    • geography
    • food_and_drink
    • general_knowledge

Note: Empty array in the default value means every option is selected for that setting. (All 3 difficulty levels & 10 categories are allowed by default)

Your configuration will be saved in smart-byte-quiz_config.json located in:

  • Windows : %APPDATA%

  • Mac/Linux : ~/.config

    You can manually edit this file if needed.

Roadmap

  • [ ] Implement session management for multiplayer quizzes.
  • [ ] Integrate features exclusively available to API subscribers.
  • [ ] Enhance user interface for better interaction and feedback.

Credits

This tool uses the trivia questions provided by The Trivia API. Their service is appreciated for providing extensive trivia question sets.


Feel free to report issues, or suggest improvements on GitHub. Happy quizzing! 🎉