json-crdt-repo

JSON CRDT server and syncing local-first browser client

Apache-2.0 6 个版本
安装
npm install json-crdt-repo
yarn add json-crdt-repo
pnpm add json-crdt-repo
bun add json-crdt-repo
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
版本列表
1.5.0 2025-05-22
1.4.0 2024-10-10
1.3.0 2024-10-08
1.2.0 2024-10-06
1.1.0 2024-10-05
1.0.0 2024-10-04