/adventofcode2019

Advent of code 2019 puzzles

Primary LanguageTypeScript

Advent of code 2019

This repository is used to solve puzzles from Advent of code 2019, mainly by using the fp-ts library.

It's the opportunity for me to practice some functional programming in Typescript.

Requirements

The only requirement to run this project is nvm. Using nvm use at the root of the repository, you can install the appropriate Node version with the npm command used to install the dependencies and run the project.

Build

npm run build

Run

Requires to build the project first.

node lib/dayX/partY/

(replace X with the desired day number and Y with 1 or 2)

Tests

npm test