1.4.0 • Published 8 months ago

json-crdt-repo v1.4.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

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