>('api.elysiajs.com')const{ data }=await api . profile . patch ({ age :21}) For Frontend End-to-end Type Safety Like tRPC, Elysia provides type-safety from the backend to the frontend without code generation. The interaction between frontend and backend is type-checked at compile time...
ElysiaJS 是一个由 Bun 增强的 Type 框架,具有端到端的类型安全、统一的类型系统和出色的开发人员体验。当前 Github star 数 7.7k。 ElysiaJS 在2024年03月16日,发布了 1.0 版本。Elysia 1.0 是开发 1.8 年后的第一个稳定版本,该版本引入了重大改进,并包含一个必要的突破性改动。 ElysiaJS 主要特性 1)超强...
Nest.js (一个基于 Node.js 的框架) Nest.js 与其他用于比较的框架有些不同。Encore、Elysia 和 Hono 提供极简的 API 用于创建端点和中间件,并且你可以自由地按照自己的喜好来构建业务逻辑。而 Nest.js 则更加有自己的主张,强制你以某种特定的方式来组织代码。它提供了一种模块化架构,将代码组织成不同的抽象...
elysiajs/elysia elysiajs/elysiaPublic NotificationsYou must be signed in to change notification settings Fork239 Star10.9k Code Issues199 Discussions Actions Projects Insights main BranchesTags Code Folders and files Name Last commit message Last commit date...
ElysiaJS 是一个不错的框架,但是在选择框架时,需要根据自己的需求和项目特点进行权衡。
mock cli server simple mustache bun elysiajs Updated Sep 15, 2024 TypeScript jellydn / elysia-demo-app Sponsor Star 70 Code Issues Pull requests A Real-World Example Using Bun, Docker, and Fly.io 🚀 bun elysiajs Updated Oct 22, 2024 TypeScript sirini / tsboard Star 69 Cod...
// @errors: 2353 import { Elysia, t } from 'elysia' import { treaty } from '@elysiajs/eden' const app = new Elysia() .post('/', ({ body }) => body, { body: t.Object({ name: t.String(), point: t.Number() }), response: t.Object({ name: t.String() }) }) const ...
elysia-openid-client OpenID Connect client plugin for ElysiaJS elysia elysiajs oidc openid OpenID Connect bun macropygiapublished 0.1.11 • 5 months agopublished 0.1.11 5 months ago M Q P @gtrabanco/elysia-inject-html Elysia plugin to inject HTML into the DOM elysia elysiajs plugin html in...
elysiajs/elysia最新发布版本:1.0(2024-03-16 23:42:16)Named after the opening of the legendary anime, "No Game No Life",「This Game」composed by Konomi Suzuki. This Game push the boundary of medium-size project to large-scale app with re-imagined plugin model, dynamic mode, pushing ...
Fully type-safe Elysia client refers to the documentation Installation bun add elysia @elysiajs/eden Example // server.ts import { Elysia, t } from 'elysia' const app = new Elysia() .get('/', () => 'Hi Elysia') .get('/id/:id', ({ params: { id } }) => id) .post('/mir...