Skip to main content
Module

x/earthstar/mod.browser.ts>SyncerOpts

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
interface SyncerOpts
Re-export
import { type SyncerOpts } from "https://deno.land/x/earthstar@v10.0.0-beta.8/mod.browser.ts";

Options to initialise a Syncer with.

  • peer - The peer to synchronise.
  • partner - Determines who you'll be syncing with (e.g. a remote peer on a server, a local peer)
  • mode - Determines what kind of sync to carry out.
  • formats - An optional array of formats to sync. Defaults to just es.5.