Advent of Code 2015 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 specify the days to solve in the variable DAYS_TO_SOLVE
. The source code for each day is available in directory /src
. The related data can be found in directory /src/data
.
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