Skip to main content

latest

A sync engine and database for building collaborative apps

It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
52%
Published
a week ago (0.1.1)
class LocalReadonlyDatabase

Constructors

new
LocalReadonlyDatabase(tupleDb: ReadOnlyTupleDatabaseClientApi)

Type Parameters

Schema extends AnySchema

Methods

get<Collection extends CollectionName<Schema>>(
collection: Collection,
id: Schema[Collection]["id"],
): Schema[Collection] | undefined
list<Collection extends CollectionName<Schema>>(collection: Collection): Schema[Collection][]

Add Package

deno add jsr:@tkancharla/tandem

Import symbol

import { LocalReadonlyDatabase } from "@tkancharla/tandem";

---- OR ----

Import directly with a jsr specifier

import { LocalReadonlyDatabase } from "jsr:@tkancharla/tandem";

Add Package

npx jsr add @tkancharla/tandem

Import symbol

import { LocalReadonlyDatabase } from "@tkancharla/tandem";

Add Package

yarn dlx jsr add @tkancharla/tandem

Import symbol

import { LocalReadonlyDatabase } from "@tkancharla/tandem";

Add Package

pnpm dlx jsr add @tkancharla/tandem

Import symbol

import { LocalReadonlyDatabase } from "@tkancharla/tandem";

Add Package

bunx jsr add @tkancharla/tandem

Import symbol

import { LocalReadonlyDatabase } from "@tkancharla/tandem";