To install dependencies:
bun install
To run:
bun run index.js
To create a new day's structure and download the input automatically:
-
Create a
.envfile in the root directory and add your Advent of Code session cookie:AOC_SESSION=your_session_cookie_here -
Run the setup script with the day number:
./new_day.sh <day_number>
This project was created using bun init in bun v1.0.2. Bun is a fast all-in-one JavaScript runtime.