Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
/ aoc-2023 Public archive
generated from jonahsnider/typescript-starter

My Advent of Code solutions for 2023

License

Notifications You must be signed in to change notification settings

jonahsnider/aoc-2023

Repository files navigation

Advent of Code 2023

Build Status XO code style codecov

My Advent of Code 2023 solutions in TypeScript.

Usage

Initial setup

  1. Install Node.js v20 or higher
  2. Run yarn
  3. Run yarn build

Running the programs

Run yarn start to run all programs and print their results to the console.

You can also run yarn start [...days] to run only the specified days.

Benchmarking the programs

Run yarn start benchmark to benchmark all programs and print their median execution times to the console.

You can also run yarn start benchmark [...days] to benchmark only the specified days.

Solving a new day

  1. Generate a new template by running yarn start template <day>
  2. Paste the puzzle input into the <day>.txt file printed to the console
  3. Open the <day>/index.ts file printed to the console
  4. Run yarn build:dev to build the project in watch mode
  5. Run yarn test:dev to run the tests in watch mode

About

My Advent of Code solutions for 2023

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published