Hi!

To run a solution try the following commands

#/bin/bash

cd ./2022/day1
node main.js # to solve test.txt
node main.js data.txt # to solve data.txt