diff options
Diffstat (limited to 'docs/ecosystem/hono.md')
-rw-r--r-- | docs/ecosystem/hono.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/ecosystem/hono.md b/docs/ecosystem/hono.md index c89dce9f7..e96fbc5c9 100644 --- a/docs/ecosystem/hono.md +++ b/docs/ecosystem/hono.md @@ -1,15 +1,16 @@ [Hono](https://github.com/honojs/hono) is a lightweight ultrafast web framework designed for the edge. ```ts -import { Hono } from 'hono' -const app = new Hono() +import { Hono } from "hono"; +const app = new Hono(); -app.get('/', (c) => c.text('Hono!')) +app.get("/", c => c.text("Hono!")); -export default app +export default app; ``` Get started with `bun create` or follow Hono's [Bun quickstart](https://hono.dev/getting-started/bun). + ```bash $ bun create hono ./myapp $ cd myapp |