Advent of Code 2020 in TypeScript.
Install Node.js and Yarn package manager
Run the following command to install the packages:
yarn
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