Tested with NodeJS v14.15.1 / Ubuntu 20.04.1
- All the input files are utf-8 encoded with Unix line break
- Values are separated by one more multiple white spaces
run 'npm test
' to go through the test cases
The application accepts one argument: the relative/absolute path of the input file.
run 'node index.js ./test/testin1.txt
' to display the result for the first example from the coding exercise. There are a few other files in the same directory for demo purpose.