JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q33278F
  • License Apache-2.0 OR MIT

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