新的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)
Related Issues not found
Please contact @Kun8018 to initialize the comment