3.0.0-0 • Published 5 years ago

json-patch-ot v3.0.0-0

Weekly downloads
20
License
MIT
Repository
github
Last release
5 years ago

JSON Patch OT

Resolves outdated JSON Patches (RFC6902) in real-time JSON collaboration

Build Status

Set of transformations for JSON Patch Operational Transformations

Demo

Full flow visualization

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

For detailed changelog, check Releases.

License

MIT

See also