No peeking if you've not done the day 😉
Simple node script to help provide a space to solve the puzzles for Advent of code.
Create .env
file with key session=x
. Login to Advent of code and grab session cookie.
Download puzzle data: npm start [1] [2022]
.
npm start [1] [2022]
both options are optional, first is the day
and second is year
. They defaults to current year and day.
Run code: node src/2022/day1.js
- ✅ ✅ Day 1
- ✅ ✅ Day 2
- ✅ ✅ Day 3
- ✅ ✅ Day 4
- ✅ ✅ Day 5
- ✅ ✅ Day 6
- ✅ ✅ Day 7
- ✅ ✅ Day 8
- ✅ ✅ Day 9
- ✅ ✅ Day 10
- ✅ ✅ Day 11
- ✅ ✅ Day 12
- ✅ ✅ Day 13
- 🔲 🔲 Day 14