Melon-dbMelon-db
Packages

@melon-db/sync

Watermelon-compatible pull/push orchestrator.

Status: Shipped · Depends on: @melon-db/db only · API: Reference

Install (alpha)

npm install @melon-db/sync@alpha

Or with Bun:

bun add @melon-db/sync@alpha
import { synchronize, createMemoryCheckpointStore } from '@melon-db/sync';

await synchronize({
  db,
  pullChanges,
  pushChanges,
  checkpointStore: createMemoryCheckpointStore(),
});

Features: retry policy, cancellation, network monitor, conflict policies, migration-aware pull.

Full guide: Sync.

Author & license

Copyright (c) 2026 Nate Nichols. MIT License.