Basic CLI Calculator

Medium
4 views 25 Jan 2026
Create a CLI that reads two numbers and an operator and prints result....

Pretty Print Errors

Medium
6 views 25 Jan 2026
Catch an error and print message plus stack first line....

Color Output Without Library

Hard
5 views 25 Jan 2026
Print green text using ANSI codes only when stdout is TTY....

Progress Bar Idea

Hard
5 views 25 Jan 2026
Print a simple progress bar from 0 to 100 in steps....

Spawn Child Process

Hard
5 views 25 Jan 2026
Run 'node -v' using child_process and print the version....

Read From Stdin Lines

Easy
6 views 25 Jan 2026
Read all stdin, split into lines, and print count....

Simple Config File Locator

Medium
3 views 25 Jan 2026
Pick config path: MEETCODE_CONFIG env else ./meetcode.config.json....

Debug Flag Switch

Easy
5 views 25 Jan 2026
If --debug is present, print extra information....

Graceful SIGINT

Hard
3 views 25 Jan 2026
Handle Ctrl+C (SIGINT) and print Bye meetcode then exit....

Simple Worker Thread

Hard
4 views 25 Jan 2026
Run heavy work in worker_threads and return result to main thread....

Cluster Basics Explanation

Medium
4 views 25 Jan 2026
Print how many CPU cores exist and a note about clustering....

Readline Prompt Name

Medium
3 views 25 Jan 2026
Ask user name using readline and greet them with meetcode....

Print Help Text

Easy
5 views 25 Jan 2026
If --help is passed, print usage text for a CLI....

Write To stderr

Easy
5 views 25 Jan 2026
Print warnings to stderr and normal output to stdout....

Spinner While Waiting

Hard
3 views 25 Jan 2026
Show a simple spinner for 1 second then print DONE....

Subcommand Switch

Medium
3 views 25 Jan 2026
Support subcommands: init and run, print what was chosen....

Read File Preview CLI

Medium
4 views 25 Jan 2026
Read a file path from args and print first 100 chars....

Exit Code On Failure

Easy
5 views 25 Jan 2026
If input string is empty, print FAIL and set exitCode=2....

Enable Debug Logs With ENV

Medium
6 views 25 Jan 2026
If DEBUG=1, print extra logs around a task....

JSON Output Mode

Medium
3 views 25 Jan 2026
If --json flag is present, print output as JSON instead of text....