Skip to main content
Home
Works with
This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score100%
License
MIT
Downloads19/wk
Published3 hours ago (2.3.2)

Integrate Fedify with SolidStart

@fedify/solidstart: Integrate Fedify with SolidStart

npm Matrix @fedify@hackers.pub

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

The integration code looks like this:

// src/middleware/index.ts
import { fedifyMiddleware } from "@fedify/solidstart";
import federation from "../lib/federation";

export default fedifyMiddleware(federation, (event) => "context data");

Put the above code in your src/middleware/index.ts file, and set middleware: "src/middleware/index.ts" in your app.config.ts.

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

Import symbol

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

Import directly with a jsr specifier

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