Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
fedify-dev/fedifyWorks with
•JSR Score100%•This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers



License
•MIT
Downloads17/wk
•Published3 days ago (2.2.3)
Integrate Fedify with Koa
Functions
f
createMiddleware<TContextData, TKoaContext = any>(): () => Promise<void>
federation: Federation<TContextData>,
contextDataFactory: ContextDataFactory<TContextData, TKoaContext>
ctx: TKoaContext,
next: () => Promise<void>
Create a Koa middleware to integrate with the Federation object.
Type Aliases
T
ContextDataFactory<TContextData, TKoaContext = any> = (context: TKoaContext) => TContextData | Promise<TContextData>
A factory function to create context data for the Federation object.
