About
Compares two files, shows how they differ.
Installation
> npm install -g compare-files
Usage
Let's say you have two json files:
file1.json
file2.json
To find out the differences between those two files, run gendiff
in the terminal with paths to the files. For example:
> gendiff file1.json file2.json --format plainProperty 'timeout' was updated from '50' to '20'Property 'proxy' was removedProperty 'verbose' was added with 'true'
Supported formats
- json,
- yaml,
- ini.
Output formats
- plain text,
- json.