...

json-joy

A collection of libraries and specifications for building real-time collaborative apps on top of JSON documents
github-icon
GitHub
891star-icon
Created 5 years ago, last commit 5 days ago
6 contributors
4.68k commits
Stars added on GitHub, month by month
8
9
10
11
12
1
2
3
4
5
6
7
2024
2025
Stars added on GitHub, per day, on average
Yesterday
=
Last week
+0.4
star-icon /day
Last month
+0.3
star-icon /day
Last 12 months
+0.5
star-icon /day
npmPackage on NPM
Monthly downloads on NPM
8
9
10
11
12
1
2
3
4
5
6
7
2024
2025
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.