0.19.118 • Published 1 year ago

@fireproof/ucan v0.19.118

Weekly downloads
-
License
Apache-2.0 OR MIT
Repository
-
Last release
1 year ago

@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/ucan

Then 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);