Learn more about Mintlify
Enter your email to receive updates about new features and product releases.
Use Hono with Bun for fast web apps
bun add hono
import { Hono } from "hono"; const app = new Hono(); app.get("/", (c) => c.text("Hello Hono!")); app.get("/api/hello/:name", (c) => { const name = c.req.param("name"); return c.json({ message: `Hello ${name}!` }); }); export default { port: 3000, fetch: app.fetch, };
bun run server.ts