1.0.2 • Published 8 years ago

json-merge-patch-cli v1.0.2

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
8 years ago

json-merge-patch

Merges two JSON files together.

Example:

// Patch
{
  "foo": "PATCH FOO",
  "bar": "baz",
  "biff": null
}
// Source i.e. target
{
  "foo": "foo",
  "biff": "bones"
}
json-merge-patch -p patch.json -s source.json
// Result
{
  "foo": "PATCH FOO",
  "bar": "baz"
}

Works deeply. YMMV with arrays. Great for merging bower.json

TBA: support for json-merge-patch library's other commands.

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago