Skip to content

cyingfan/aoc2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2024

In bun.

Preparation

Grab the session value from cookie after logged into adventofcode.com. Put the value (without session=) into .env (see sample .env file).

To run

bun run <day>.ts

To run using example input

bun run <day>.ts --test [--match <match-number>]
  • Highly experimental, may break in some days.
  • If --match <match-number> is not provided, the first match is used.
  • <match-number> is a zero-based index. So first match is 0.

This project was created using bun init in bun v1.1.38. Bun is a fast all-in-one JavaScript runtime.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published