JSPM

@fedify/solidstart

2.4.0-dev.1618+58858243
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2549
  • Score
    100M100P100Q121360F
  • License MIT

Integrate Fedify with SolidStart

Package Exports

  • @fedify/solidstart
  • @fedify/solidstart/package.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fedify/solidstart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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.