json-patch-ot
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.0-0
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.0-0
    7
  • 1.0.1
    22

Package Sidebar

Install

npm i json-patch-ot

Weekly Downloads

29

Version

3.0.0-0

License

MIT

Unpacked Size

28.5 kB

Total Files

13

Last publish

Collaborators

  • alshakero
  • tomalec
  • warpech