Package Exports
- @fireproof/ucan
Readme
@fireproof/ucan
Fireproof is an embedded JavaScript document database that runs in the browser (or anywhere with JavaScript) and connects to any cloud.
This connector connects to an instance of a Fireproof UCAN server.
Get started
In your existing Fireproof app install the connector:
npm install @fireproof/ucanThen connect:
import { useFireproof } from "use-fireproof";
import * as UCAN from "@fireproof/ucan";
const { database } = useFireproof("my-app-database-name");
const connection = await UCAN.connect(database);