🔙 All posts

quizme: Building a Node CLI Tool


Planted May 03, 2022

I’m getting back into streaming once a week and I wasn’t sure what to start with. I put a poll out on Twitter and it came back.

I ended up building a tool called quizme which is to help with spaced repetition and learning.

While I worked, I talked about a number of things:

  • Setting up a project
  • ESM and CommonJS
  • process.argv
  • Choosing a Node CLI library
  • inquiry
  • Parsing flags
  • Reading and writing to files
  • #! - the shebang or hashbang

The full video can be found here:

https://www.youtube.com/watch?v=sH4c6rbBwJo

There are lots of places to extend this application, the code can be found here.

I’m gradually going to add posts to look at each of the points above in more detail.

Like what you see?

I send out a (semi) regular newsletter which shares the latest from here and my reading from around the web. Sign up below.

    Your next read?