IT学徒、技术民工、斜杠青年,机器人爱好者、摄影爱好 PS、PR、LR、达芬奇潜在学习者
共 243 篇文章
目录
链接
新的js运行时
curl
curl -fsSL https://bun.sh/install | bash
使用
import { Elysia } from 'elysia' new Elysia() .get('/', 'Hello World') .get('/json', { hello: 'world' }) .get('/id/:id', ({ params: { id } }) => id) .listen(3000)