json-crdt-repo
v1.4.0
Published
JSON CRDT server and syncing local-first browser client
Downloads
17
Maintainers
Readme
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