Gendiff (generator of difference) is program that determines the difference between two data structures.
Utility features:
- Support for different input formats: yaml, json
- Generating of report in plain text, stylish and json format
I've developed this program using v14.14.0 of Node.
If you face with some issues while using other versions of node just try to use v14.14.0.
To install the program just run inside cloned folder
$ make installUninstall program
$ make uninstallGet help information
$ gendiff -hCompare two files
$ gendiff pathToFile1.json pathToFile2.jsonCompare two files using other formats
$ gendiff -f plain pathToFile1.json pathToFile2.json$ gendiff -f json pathToFile1.json pathToFile2.jsonRun tests
$ make testTo install the program just run inside cloned folder
$ npm ci
...
$ npm linkRun tests
$ npm run win-testAll other actions are the same as for Linux / macOS systems.