Skip to main content
Module

x/earthstar/mod.ts>createInvitationURL

Storage for private, distributed, offline-first applications.
Latest
function createInvitationURL
import { createInvitationURL } from "https://deno.land/x/earthstar@v10.2.2/mod.ts";

Creates an invitation URL. Validates the share address, that servers are valid URLs, and the secret against the share address if given.

Parameters

shareAddress: ShareAddress
servers: string[]
optional
secret: string

Returns

Promise<string | ValidationError>