Skip to main content

Built and signed on GitHub Actions

An implementation of the Willow Data Model and Willow General Purpose Sync Protocol. https://willowprotocol.org

This package works with Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
100%
Published
7 months ago (0.6.1)
function createDrop
createDrop<
NamespaceId,
SubspaceId,
PayloadDigest,
AuthorisationOpts,
AuthorisationToken,
Prefingerprint,
Fingerprint,
>
(opts: DropOpts<NamespaceId, SubspaceId, PayloadDigest, AuthorisationOpts, AuthorisationToken, Prefingerprint, Fingerprint>): ReadableStream<Uint8Array>

Creates an encrypted drop containing all entries for a given AreaOfInterest within a Store.

Type Parameters

NamespaceId
SubspaceId
PayloadDigest
AuthorisationOpts
AuthorisationToken
Prefingerprint
Fingerprint

Parameters

Return Type

A ReadableStream which outputs the bytes of the drop.

Add Package

deno add jsr:@earthstar/willow

Import symbol

import { createDrop } from "@earthstar/willow";

---- OR ----

Import directly with a jsr specifier

import { createDrop } from "jsr:@earthstar/willow";

Add Package

npx jsr add @earthstar/willow

Import symbol

import { createDrop } from "@earthstar/willow";

Add Package

yarn dlx jsr add @earthstar/willow

Import symbol

import { createDrop } from "@earthstar/willow";

Add Package

pnpm dlx jsr add @earthstar/willow

Import symbol

import { createDrop } from "@earthstar/willow";

Add Package

bunx jsr add @earthstar/willow

Import symbol

import { createDrop } from "@earthstar/willow";