See my 2021 solutions at SwanX1/AoC2021
To get the first part of the challenges, run the script with the --old parameter:
Applicable to days 1, 2, 4, 6, 7 and 8.
$ node . --old
To determine the slope and/or get debugging info, run the script with parameters like so:
Applicable to day 3.
$ node . <right> <down> [--debug]