← All plugins

Local Sync (Yjs)

Server @edv4h/usketch-plugin-sync-localstorage-yjs

y‑indexeddb offline‑first persistence.

pnpm add @edv4h/usketch-plugin-sync-localstorage-yjs

Overview

Local Sync (Yjs) is part of the uSketch first-party plugin set. Install it alongside your uSketch app and it self-registers on startup.

Usage

import { createApp } from "@edv4h/usketch-core";
import { SyncLocalstorageYjsPlugin } from "@edv4h/usketch-plugin-sync-localstorage-yjs";

const app = createApp({
  plugins: [
    SyncLocalstorageYjsPlugin,
  ],
});

Links