Skip to content

TypeScript solutions for the Advent of Code 2022 puzzles. https://adventofcode.com/2022

Notifications You must be signed in to change notification settings

pascal-giguere/advent-of-code-2022

Repository files navigation

Advent of Code 2022 🎄

TypeScript solutions for the Advent of Code 2022 puzzles.

https://adventofcode.com/2022/

Solutions favor readability and testability over performance or conciseness.

How to run

You can validate puzzle solutions by running Jest tests.

Prerequisites:

  1. Install Node 18 or later
  2. Enable Node's Corepack feature: corepack enable
  3. Install dependencies: yarn install

Run tests for all puzzles:

yarn test

Run tests for a specific puzzle:

yarn test -t q1

Tech stack

  • Language: TypeScript 4.9
  • Environment: Node 18
  • Package manager: Yarn 3 (with PnP)
  • Testing framework: Jest

About

TypeScript solutions for the Advent of Code 2022 puzzles. https://adventofcode.com/2022

Resources

Stars

Watchers

Forks