[ElysiaJS] is an ergonomic framework designed for humans, featuring built-in TypeScript support with end-to-end type safety, type integrity, and an exceptional developer experience. Powered by Bun, it delivers high performance and modern tooling. The @fedify/elysia package provides a seamless plugin for integrating Fedify with Elysia:
elysia:
::: code-group
~~~~ sh [Bun]
bun add @fedify/elysia
~~~~
:::
~~~~ typescript
import{fedify}from"@fedify/elysia";
import{federation}from"./federation.ts";// Your `Federation` instance
import{Elysia}from"elysia";
constapp=newElysia();
app
.use(fedify(federation,()=>"context data goes here"))