Skip to main content

Built and signed on GitHub Actions

An ActivityPub/fediverse server framework

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
94%
Published
5 days ago (1.4.1)
type alias ActorAliasMapper

A callback that maps a WebFinger query to the corresponding actor's internal identifier or username, or null if the query is not found.

Type Parameters

TContextData

The context data to pass to the Context.

Definition

(
resource: URL,
) =>
{ identifier: string; }
| { username: string; }
| null
| Promise<
{ identifier: string; }
| { username: string; }
| null
>

Add Package

deno add jsr:@fedify/fedify

Import symbol

import { type ActorAliasMapper } from "@fedify/fedify/federation";

---- OR ----

Import directly with a jsr specifier

import { type ActorAliasMapper } from "jsr:@fedify/fedify/federation";

Add Package

npx jsr add @fedify/fedify

Import symbol

import { type ActorAliasMapper } from "@fedify/fedify/federation";

Add Package

yarn dlx jsr add @fedify/fedify

Import symbol

import { type ActorAliasMapper } from "@fedify/fedify/federation";

Add Package

pnpm dlx jsr add @fedify/fedify

Import symbol

import { type ActorAliasMapper } from "@fedify/fedify/federation";

Add Package

bunx jsr add @fedify/fedify

Import symbol

import { type ActorAliasMapper } from "@fedify/fedify/federation";