Skip to main content

Built and signed on GitHub Actions

Works with
This package works with Deno
This package works with Deno
•JSR Score100%•
License
MIT
•
Downloads129/wk
•
Published3 days ago (2.4.1)

Integrate Fedify with Fresh

Functions

f
integrateFetchOptions<TState>(ctx: Context<TState>): Omit<FederationFetchOptions<void>, "contextData">

Creates federation fetch options for a Fresh context, which configures how federation.fetch delegates to Fresh's routing system.

f
integrateHandler<TContextData, TState>(
federation: Federation<TContextData>,
createContextData: (ctx: Context<TState>) => TContextData | Promise<TContextData>
): Middleware<TState>

Integrates Fedify federation with Fresh 2.0 middleware.

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/fresh

Import symbol

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

Import directly with a jsr specifier

import * as mod from "jsr:@fedify/fresh@^2.4.1";