Skip to content

Bun Hono

BunHonoを動かす。

sh
bun create hono@latest

Directory Structure

.
`-- hono
    |-- package.json
    |-- src
    |   `-- index.ts
    `-- tsconfig.json
ts
import { Hono } from 'hono'

const app = new Hono()

app.get('/', (c) => {
  return c.text('Hello Hono!')
})

export default app
sh
cd hono
sh
bun run dev

Accesse Browser

http://localhost:3000