1.0.0 • Published 2 years ago

compare-and-merge-json v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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 1. missingData.json will have missing source key and values from destination file. 2. mergedData.json will have destination data with addition of missing source key and values.

Options

For options, you can also run help

cmj --help