Skip to content

kennyrlienhard/adventofcode2020

Repository files navigation

Advent of Code 2020

Advent of Code 2020 in TypeScript.

Requirements

Install Node.js and Yarn package manager

Installation

Run the following command to install the packages:

yarn

Usage

The main file is available under /src/main.ts. Here, you can pass the days to solve to function solvePuzzles. The source code and the data for each day is available in directory /src.

For development, run the following command so that the application automatically restarts when file changes are detected.

yarn run dev

To run the main file once:

yarn start