This is a simple node program that takes in a .txt file and parse it and output .csv file format.
Note that this program is tailored for a specific text format; the sample can be found in the repo as well.
node parse-text-to-csv.js [input-file.txt] [output-file.csv]
The input and output names are optional, they will be default to the names as listed in the repo. I included that just for your convenience if your test file names are different.