/advent-of-code

🎄 My solutions for Advent of Code

Primary LanguageJavaScriptMIT LicenseMIT

advent-of-code

🎄 My solutions for Advent of Code

Setup (optional)

Set the COOKIE_SESSION environment variable to download input files if not found locally.

Run solutions

# Run given day (if current date is between 1. december and 25. december)
node index.js

# Run first day of current year
node index.js 1

# Run first day of 2022
node index.js 2022 1

# Rerun on file change
npm run dev

Solutions

2023

2022

2021