compare-and-merge-json
v1.0.0
Published
Tool to compare two json files, get the difference and merge the files.
Downloads
3
Readme
compare-and-merge-json
Tool to compare two json files, get the difference and merge the files.
Install
npm install -g compare-and-merge-json
Run
When installed you can run the cmj
command from your command line.
For example
cmj -s source.json -d destination.json -o output
The above command will create two files under output folder
missingData.json
will have missing source key and values from destination file.mergedData.json
will have destination data with addition of missing source key and values.
Options
For options, you can also run help
cmj --help