pascal-giguere / advent-of-code-2022

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:TypeScript 97.6%Language:JavaScript 2.4%