My Advent of Code 2023 solutions in TypeScript.
- Install Node.js v20 or higher
- Run
yarn
- Run
yarn build
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.
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.
- Generate a new template by running
yarn start template <day>
- Paste the puzzle input into the
<day>.txt
file printed to the console - Open the
<day>/index.ts
file printed to the console - Run
yarn build:dev
to build the project in watch mode - Run
yarn test:dev
to run the tests in watch mode