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 install
Uninstall program
$ make uninstall
Get help information
$ gendiff -h
Compare two files
$ gendiff pathToFile1.json pathToFile2.json
Compare two files using other formats
$ gendiff -f plain pathToFile1.json pathToFile2.json
$ gendiff -f json pathToFile1.json pathToFile2.json
Run tests
$ make test
To install the program just run inside cloned folder
$ npm ci
...
$ npm link
Run tests
$ npm run win-test
All other actions are the same as for Linux / macOS systems.