Skip to main content
Home

Built and signed on GitHub Actions

Integrate Fedify with Express

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
76%
Published
2 days ago (1.10.0)

@fedify/express: Integrate Fedify with Express

npm Matrix Follow @fedify@hollo.social

This package provides a simple way to integrate Fedify with Express.

The integration code looks like this:

import express from "express";
import { integrateFederation } from "@fedify/express";
import { federation } from "./federation.ts";  // Your `Federation` instance

export const app = express();

app.set("trust proxy", true);

app.use(integrateFederation(federation, (req) => "context data goes here"));
Built and signed on
GitHub Actions

New Ticket: 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/express

Import symbol

import * as express from "@fedify/express";
or

Import directly with a jsr specifier

import * as express from "jsr:@fedify/express";

Add Package

pnpm i jsr:@fedify/express
or (using pnpm 10.8 or older)
pnpm dlx jsr add @fedify/express

Import symbol

import * as express from "@fedify/express";

Add Package

yarn add jsr:@fedify/express
or (using Yarn 4.8 or older)
yarn dlx jsr add @fedify/express

Import symbol

import * as express from "@fedify/express";

Add Package

vlt install jsr:@fedify/express

Import symbol

import * as express from "@fedify/express";

Add Package

npx jsr add @fedify/express

Import symbol

import * as express from "@fedify/express";

Add Package

bunx jsr add @fedify/express

Import symbol

import * as express from "@fedify/express";