These are my quick and dirty solutions to Advent Of Code problems.
Prepare files for next puzzle:
npm run next
Run the solution of the last puzzle:
npm start
Both commands allow you to select the year and day:
npm run next -- --year=2021 --day=23
npm start -- --year=2022 --day=23
You can run part 2 of the puzzle only:
npm start -- --part=2
Or you can run it against test data only:
npm start -- --test