Credits: This repo is based on https://github.com/nanot1m/adventofcode2023
- Create
.env
file in the root directory with the following variables:SESSION
- your advent of code session id. To get it login at https://adventofcode.com/2024/auth/login and get value from cookiesession
NodeJS >= 14
cd js
To run the solution of the day 1, run the following command:
npm run solve 1
To create the template for the day 2, run the following command:
npm run tpl 2