- Go into the required folder (day-X) and create your input file. (ex: input-challenge.txt with the input content inside)
- Cat the file's content and pipe it into the script
Example :
cd day-1
cat input-challenge.txt | node ex1.1.js
Example :
cd day-1
cat input-challenge.txt | node ex1.1.js