A collection of JavaScript solutions to Advent of Code 20x.
With a first stab of a system to generate files and download code inputs
Using dotenv (.env file):
- Login to Advent of code in your browser and find the cookie called "session".
- Add the session value to the .env file:
ADVENT_OF_CODE_SESSION=xxx
npm run day [day x]
- Create the file for the day wanted and populate the personal input.