Skip to content

GoryMoon/aoc

Repository files navigation

aoc

codecov GitHub Workflow Status

Advent of Code Solutions in Typescript

I'm new to Typescript so I'm using it for this to learn.

Structure is based on alan-seymour/aoc-ts

Usage

# run using ts-node
$ npm run solve-ts

# run using node
# build project before running
$ npm run build-ts
# run file
$ npm run solve

Options

-d, --day   Run solution for specific day
-p, --part  Run specific part of solution (defaults to 1)
-t, --time  Measure the time it takes to solve

Examples

# Run 202001 part 1
$ npm run solve-ts -- -d 202001

# Run part 2 of 202001 with output time taken
$ npm run solve-ts -- -d 202001 -p 2 -t

About

My AoC solutions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published