Skip to content

Node Adapter

Works with Node.js, Bun and Deno.

Example

import { makePersistedAdapter } from '@livestore/adapter-node'
const adapter = makePersistedAdapter({
schemaPath: new URL('./schema.ts', import.meta.url),
workerUrl: new URL('./livestore.worker.js', import.meta.url),
})