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
100%
Published
3 weeks ago (1.0.2)
type alias ActorHandleMapper

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

Type Parameters

TContextData

The context data to pass to the Context.

Definition

(
username: string,
) =>
string
| null
| Promise<string | null>

Add Package

deno add jsr:@fedify/fedify

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @fedify/fedify

Import symbol

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

Add Package

yarn dlx jsr add @fedify/fedify

Import symbol

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

Add Package

pnpm dlx jsr add @fedify/fedify

Import symbol

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

Add Package

bunx jsr add @fedify/fedify

Import symbol

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