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

My Advent of Code 2022 solutions in TypeScript

License

Notifications You must be signed in to change notification settings

jonahsnider/aoc-2022

Repository files navigation

Advent of Code 2022

Build Status XO code style codecov

My Advent of Code 2022 solutions in TypeScript.

Usage

Initial setup

  1. Install Node.js v18 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 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 2022 solutions in TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published