Skip to main content
Home
Works with
This package works with Deno
This package works with Deno
JSR Score94%
License
MIT
Downloads10/wk
Published7 hours ago (2.3.2)

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";