Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

json-joy

streamich319.7kApache-2.017.54.0TypeScript support: included

Collection of libraries for building collaborative editing apps.

collaborative, multiplayer, local-first, localfirst, crdt, rdt, ot, operational-transformation, replicated, sync, synchronization, distributed-state, marshaling, serializations, json-patch, json-binary, json-brand, json-cli, json-clone, json-crdt-patch, json-crdt-extensions, json-crdt-peritext-ui, json-crdt, json-equal, json-expression, json-hash, json-ot, json-pack, json-patch-multicore, json-patch-ot, json-patch, json-pointer, json-random, json-schema, json-size, json-stable, json-text, json-type, json-type-value, json-walk

readme

json-joy

npm version

json-joy library implements cutting-edge real-time and collaborative editing algorithms and other utilities for JSON data models. Major focus of json-joy is development of the JSON CRDT protocol, a Conflict-free Replicated Data Type that enables seamless merging of changes in JSON data models, avoiding conflicts between replicas.

Notable features

  • Full JSON implementation as a CRDT (Conflict-free Replicated Datatype).
  • The fastest list CRDT implementation in JavaScript.
  • The fastest text OT (Operational Transformation) implementation in JavaScript.
  • The fastest implementation of CBOR, DAG-CBOR, MessagePack, UBJSON, and JSON codecs in JavaScript.
  • The fastest (HTTP) router implementation in JavaScript.
  • The fastest JSON schema validation implementation in JavaScript.
  • Very fast binary tree (Radix, AVL, Red-black*, Splay) implementations in JavaScript.
  • Very fast JSON Patch (and JSON Pointer) implementation in JavaScript, including many non-standard operations, and JSON Predicate implementation.
  • Very fast JSON Expression implementation in JavaScript.