You can install gendiff with npm.
npm install --global korzhavin-gendiff
gendiff --format plain before.json after.json
gendiff -h
Usage: gendiff [options] <firstConfig> <secondConfig>
Compares two configuration files and shows a difference.
Options:
-h, --help output usage information
-V, --version output the version number
-f, --format [type] Output formats: simple (by default), plain, json