Capture the output from a stream (process.stdout or process.stderr)
and store later. This module has been built to be used in unit tests
to easily capture output from process.stdout and process.stderr
and test the results.
This is a Node.js library for getting nicer errors out of JSON.parse(),including context and position of errors.
It servers similar purpose as the JSON.parse() method but returns more useful errors when exceptions happen.