@riwa-org/eden
v0.0.150
Published
Elysia API type definitions for Eden Treaty
Downloads
337
Readme
@riwa/eden
Installation
bun add @elysiajs/eden
bun add -d elysia
bun add @riwa-org/edenExample
// client.ts
import { treaty } from "@elysiajs/eden";
import type { App } from "@riwa-org/eden";
const app = treaty<App>("localhost:3000");
app.api.error_messages.get().then((res) => {
res.data?.zh;
});