kernl API
    Preparing search index...

    Module @kernlize/bridges

    Locator parsing, the bridge contract, the registry that routes and authorises, an HTTP bridge with an SSRF policy, backend-driven bridges for downloads, sharing and mail, hand-off backends that open an app on the user's device, an in-page download backend over a WebTorrent client, and the adapter that feeds a resource service.

    @kernlize/bridges

    Locator parsing, bridge contract, registry and HTTP bridge with SSRF policy for the kernl shell.

    Registry Package
    npm @kernlize/bridges
    JSR @kernl/bridges
    npm install @kernlize/bridges
    # or, with Deno
    deno add jsr:@kernl/bridges

    Package reference · API reference · Source

    ESM only. MIT licensed.

    BackendTraits
    Bridge
    BridgeContext
    BridgeExposure
    BridgeRegistry
    BridgeRegistryOptions
    BridgeResolveEvent
    BridgeResourceResolverOptions
    DescriptionRow
    DownloadedFile
    DownloadJob
    HandoffBackends
    HttpBridgeOptions
    HttpPolicy
    Locator
    MailBackend
    NzbBackend
    ResourceResolveInit
    SoulseekBackend
    TorrentBackend
    WebTorrentBackend
    WebTorrentBackendOptions
    WebTorrentFileLike
    WebTorrentLike
    WebTorrentTorrentLike
    BridgeAuthorizer
    BridgeAvailability
    BridgeResourceResolver
    BridgeResult
    DownloadListener
    DownloadState
    HandoffOpener
    DEFAULT_HTTP_POLICY
    DEFAULT_WEBRTC_TRACKERS
    createBridgeRegistry
    createBridgeResourceResolver
    createHandoffBackends
    createHttpBridge
    createMailBridge
    createNzbBridge
    createSoulseekBridge
    createTorrentBridge
    createWebTorrentBackend
    describeBridge
    formatLocator
    isBlockedHostname
    isNzbUrl
    isPrivateAddress
    parseLocator
    webTrackers