Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
fedify-dev/fedifyIntegrate Fedify with Fastify
This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun



JSR Score
94%
Published
2 days ago (1.10.0)
@fedify/fastify: Integrate Fedify with Fastify
This package provides a simple way to integrate Fedify with Fastify.
The integration code looks like this:
import Fastify from "fastify"; import { fedifyPlugin } from "@fedify/fastify"; import { federation } from "./federation.ts"; // Your `Federation` instance const fastify = Fastify({ logger: true }); await fastify.register(fedifyPlugin, { federation, contextDataFactory: () => undefined, }); fastify.listen({ port: 3000 });
Built and signed on
GitHub Actions
Add Package
deno add jsr:@fedify/fastify
Import symbol
import * as fastify from "@fedify/fastify";
Import directly with a jsr specifier
import * as fastify from "jsr:@fedify/fastify";
Add Package
pnpm i jsr:@fedify/fastify
pnpm dlx jsr add @fedify/fastify
Import symbol
import * as fastify from "@fedify/fastify";
Add Package
yarn add jsr:@fedify/fastify
yarn dlx jsr add @fedify/fastify
Import symbol
import * as fastify from "@fedify/fastify";
Add Package
vlt install jsr:@fedify/fastify
Import symbol
import * as fastify from "@fedify/fastify";
Add Package
npx jsr add @fedify/fastify
Import symbol
import * as fastify from "@fedify/fastify";
Add Package
bunx jsr add @fedify/fastify
Import symbol
import * as fastify from "@fedify/fastify";