Simple difference calculator between 2 versions of files. It can accept JSON and YAML files.
- clone repo in your local machine;
- hit
'npm ci'(ormake installif you got 'Make' npm-package installed). - also need to install the package locally by command
npm link(make link). - It forks directly from command line and as a library.
gendiff [options] <filepath1> <filepath2>Options – output format: stylish (default), plain and json is supported.
Output is a plain format. Also there is demonstrates comparsion of different formats of files (JSON compares with YAML).