@shaveko/jsonpatch

This is simple CLI tool to create JSONPatch files and apply JSONPatch files to json.

Usage no npm install needed!

<script type="module">
  import shavekoJsonpatch from 'https://cdn.skypack.dev/@shaveko/jsonpatch';
</script>

README

Description

This is simple CLI tool to create JSONPatch files and apply JSONPatch files to json.

See http://jsonpatch.com/

Installation

Usage

jsonpatch diff <sourceJson> <targetJson> -o <outputPatchJson>

jsonpatch apply <sourceJson> <patchJson> -o <targetJson>