https://adventofcode.com/2022/day/9
- Node.js library
- TypeScript library
- figlet library
- n-readlines
Follow this tutorial to install Node.js and TypeScript libraries: https://blog.logrocket.com/building-typescript-cli-node-js-commander/ (up to the moment when you reach the "Creating a CLI with TypeScript" section) Then, install figlet and n-readlines libraries with the following commands (while being in the project's directory):
npm install figlet
npm install n-readlines
To run the program, use the following command:
cd src
npm run build && clear && node ..\dist\main.js
Note - the program is not yet finished. Only the first part of the task is completed, while the second part is still in progress and may not be completed in time.