json-patch-ot
v3.0.0-0
Published
JSON Patch Operational Transformations - resolves outdated JSON Patches (RFC6902) in real-time JSON collaboration
Downloads
170
Readme
JSON Patch OT
Resolves outdated JSON Patches (RFC6902) in real-time JSON collaboration
Set of transformations for JSON Patch Operational Transformations
Demo
Separated demo will be provided soon.
Install
Install the component using NPM
$ npm install json-patch-ot --save
Or
Install the component using Bower:
$ bower install json-patch-ot --save
Or download as ZIP.
Usage
import JSONPatchOT from 'json-patch-ot';
var transformedPatch = JSONPatchOT.transform(givenPatch, againstAnotherPatch);
// or
var transformedPatch = JSONPatchOT.transform(givenPatch, againstArrayOfPatches);
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
History
For detailed changelog, check Releases.
License
MIT
See also
- fast JSON Patch
- JSON Patch Queue
- JSON Patch OT
- ...putting it all together: Palindrom