A starter repo for Advent of Code completed in javascript
Tested on Ubuntu & Windows with Node 20.
Run npm ci
to install dependencies
Run npm start
to run index.js containing each day
Run npm run test
in a terminal to run tests
Run npm run test -- --watch
in a terminal to watch tests
Add days by:
- duplicating the existing src/day1 directory and renaming to "dayx" 1) the filenames and 2) the function names
- adding a "dayx" input file within the inputs directory
- adding the "dayx" function to index.js