Advent of Code

Year 2021

Prerequisites

  • Create .env file in the root directory with the following variables:

JS

NodeJS >= 14

cd js

To run the solution of the day 1, run the following command:

npm run solve 1

To create the template for the day 2, run the following command:

npm run prepare 2.js