The solution to coding task
To run the program Node.js needs to be installed. Verify the input JSON data:
node run.js path
where path is the path to the file being verified (might be relative).
For running tests, mocha must be installed.
npm install
Then to run tests:
node test.js