cli-daily-quiz

1.0.1 • Public • Published

JavaScript Daily Quiz CLI Tool

A super fancy CLI daily quiz tool which downloads questions each day from the OpenTrivia database API Open Trivia DB.

Inspired by Fireship's Node.js CLI Tutorial video on YouTube.

Take the Quiz

npx cli-daily-quiz

Packages Used

chalk | inquirer | gradient-string | chalk-animation | figlet | nanospinner | he | ky

npm i chalk chalk-animation figlet gradient-string inquirer nanospinner he ky

To Do:

  • Tidy up code
  • Update code so that it doesn't ask for the difficulty and number of questions every time (currently this does nothing if the day's questions have already been downloaded). Delete today's json file if you want a new quiz

Dependencies (8)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i cli-daily-quiz

    Weekly Downloads

    0

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    8.36 kB

    Total Files

    3

    Last publish

    Collaborators

    • ctosullivan