1.4.0 • Published 8 months ago
json-crdt-repo v1.4.0
JSON CRDT Repository
Syncing local-first browser client for json-crdt-server
.
Usage
Create a new repository:
import {JsonCrdtRepo} from 'json-crdt-repo';
const repo = new JsonCrdtRepo();
const session = repo.make('my-document');
console.log(session.model.view());
// session.model is JSON CRDT model which can be manipulated