Skip to main content

Built and signed on GitHub Actions

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
Downloads5/wk
Published5 days ago (2.2.2)

Integrate Fedify with SolidStart

@fedify/solidstart: Integrate Fedify with SolidStart

npm Matrix Follow @fedify@hollo.social

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.

Built and signed on
GitHub Actions

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