@@ -73,9 +73,33 @@ Express
73
73
-------
74
74
75
75
[ Express] is a fast, unopinionated, minimalist web framework for Node.js.
76
- The [ @fedify/express ] package provides a middleware to integrate Fedify with
76
+ The * @fedify/express * package provides a middleware to integrate Fedify with
77
77
Express:
78
78
79
+ ::: code-group
80
+
81
+ ~~~~ sh [Deno]
82
+ deno add jsr:@fedify/express
83
+ ~~~~
84
+
85
+ ~~~~ sh [npm]
86
+ npm add @fedify/express
87
+ ~~~~
88
+
89
+ ~~~~ sh [pnpm]
90
+ pnpm add @fedify/express
91
+ ~~~~
92
+
93
+ ~~~~ sh [Yarn]
94
+ yarn add @fedify/express
95
+ ~~~~
96
+
97
+ ~~~~ sh [Bun]
98
+ bun add @fedify/express
99
+ ~~~~
100
+
101
+ :::
102
+
79
103
~~~~ typescript twoslash
80
104
// @noErrors: 2345
81
105
import express from " express" ;
@@ -94,7 +118,6 @@ app.use(integrateFederation(federation, (req) => "context data goes here")); //
94
118
~~~~
95
119
96
120
[ Express ] : https://expressjs.com/
97
- [ @fedify/express ] : https://github.com/fedify-dev/express
98
121
99
122
100
123
Hono
127
150
128
151
[ h3] is an HTTP server framework behind [ Nitro] , [ Analog] , [ Vinxi] ,
129
152
[ SolidStart] , [ TanStack Start] , and other many web frameworks.
130
- The [ @fedify/h3 ] package provides a middleware to integrate Fedify with h3:
153
+ The * @fedify/h3 * package provides a middleware to integrate Fedify with h3:
154
+
155
+ ::: code-group
156
+
157
+ ~~~~ sh [Deno]
158
+ deno add jsr:@fedify/h3
159
+ ~~~~
160
+
161
+ ~~~~ sh [npm]
162
+ npm add @fedify/h3
163
+ ~~~~
164
+
165
+ ~~~~ sh [pnpm]
166
+ pnpm add @fedify/h3
167
+ ~~~~
168
+
169
+ ~~~~ sh [Yarn]
170
+ yarn add @fedify/h3
171
+ ~~~~
172
+
173
+ ~~~~ sh [Bun]
174
+ bun add @fedify/h3
175
+ ~~~~
176
+
177
+ :::
131
178
132
179
~~~~ typescript {9-15} twoslash
133
180
// @noErrors: 2345
@@ -162,7 +209,6 @@ app.use(router);
162
209
[ Vinxi ] : https://vinxi.vercel.app/
163
210
[ SolidStart ] : https://start.solidjs.com/
164
211
[ TanStack Start ] : https://tanstack.com/start
165
- [ @fedify/h3 ] : https://github.com/fedify-dev/h3
166
212
167
213
168
214
Fresh
@@ -230,9 +276,29 @@ NestJS
230
276
231
277
[ NestJS] is a modular, versatile, and scalable framework for building efficient,
232
278
reliable, and scalable server-side applications with Node.js and TypeScript.
233
- The [ @fedify/nestjs ] package provides a middleware to integrate Fedify with
279
+ The * @fedify/nestjs * package provides a middleware to integrate Fedify with
234
280
NestJS:
235
281
282
+ ::: code-group
283
+
284
+ ~~~~ sh [npm]
285
+ npm add @fedify/nestjs
286
+ ~~~~
287
+
288
+ ~~~~ sh [pnpm]
289
+ pnpm add @fedify/nestjs
290
+ ~~~~
291
+
292
+ ~~~~ sh [Yarn]
293
+ yarn add @fedify/nestjs
294
+ ~~~~
295
+
296
+ ~~~~ sh [Bun]
297
+ bun add @fedify/nestjs
298
+ ~~~~
299
+
300
+ :::
301
+
236
302
~~~~ typescript [modules/federation/federation.service.ts] twoslash
237
303
import { Injectable , Inject , OnModuleInit } from ' @nestjs/common' ;
238
304
import {
0 commit comments