close
Skip to main content

Built and signed on GitHub Actions

Works with
This package works with Cloudflare Workers, Node.js, Deno, BunIt is unknown whether this package works with Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
It is unknown whether this package works with Browsers
JSR Score100%
License
MIT
Downloads88/wk
Published5 days ago (2.2.1)

WebFinger client library for ActivityPub

Functions

f
lookupWebFinger(
resource: URL | string,
options?: LookupWebFingerOptions
): Promise<ResourceDescriptor | null>

Looks up a WebFinger resource.

Interfaces

  • Whether to allow private IP addresses in the URL.

  • The maximum number of redirections to follow.

  • signal: AbortSignal

    AbortSignal for cancelling the request.

  • tracerProvider: TracerProvider

    The OpenTelemetry tracer provider. If omitted, the global tracer provider is used.

  • userAgent: GetUserAgentOptions | string

    The options for making User-Agent header. If a string is given, it is used as the User-Agent header value. If an object is given, it is passed to getUserAgent to generate the User-Agent header value.

I

Describes a resource. See also RFC 7033 section 4.4.

  • aliases: readonly string[]

    URIs that identify the same entity as the subject.

  • links: readonly Link[]

    Links to other resources.

  • properties: Readonly<Record<string, string>>

    Conveys additional information about the subject of this descriptor.

  • subject: string

    A URI that identifies the entity that this descriptor describes.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fedify/webfinger

Import symbol

import * as mod from "@fedify/webfinger";
or

Import directly with a jsr specifier

import * as mod from "jsr:@fedify/webfinger";