Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

json-patch-ot

1.0.1 • Public • Published

JSON Patch OT

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

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

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

install

npm i json-patch-ot

Downloadsweekly downloads

82

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability