This is a very simple ACH parser. The spec used can be found here: https://www.nacha.org/system/files/resources/AAP201%20-%20ACH%20File%20Formatting.pdf
Run command:
npm install
npm run deployThese commands will install the dependencies, run the unit tests, deploy the software executable, and run the e2e tests. The executable is then found in the 'dist' directory.
Here's an example call that writes out JSON from the ACH file:
dist/ach -f spec/sampleData/basicPpdFile.ach > ach.jsonOr it also accepts piped input:
type spec/sampleData/basicPpdFile.ach | dist/ach > ach.json
dist/ach < spec/sampleData/basicPpdFile.ach > ach.jsonRun command:
npm run dev