TinyJoin logoTinyJoin

ClientOptions

The ClientOptions interface configures storage or an application-owned Worker.

The zero-boilerplate default constructs TinyJoin's packaged module Worker. Provide at most one of worker, workerFactory, or workerUrl.

worker

The worker property provides an already-created Worker-compatible object. Read more.

dataDir

The dataDir property selects memory or a named OPFS database. Read more.

workerFactory

The workerFactory property creates an application-owned Worker lazily. Read more.

workerUrl

The workerUrl property identifies an application-owned module Worker. Read more.