diff options
author | 2023-07-31 12:20:23 -0700 | |
---|---|---|
committer | 2023-07-31 12:20:23 -0700 | |
commit | 404b90badc5856a74c06d04062c850003e28fed5 (patch) | |
tree | 7954623cf4a792db612d0bb229a227c2ff1e9fd8 /docs/ecosystem/hono.md | |
parent | 67599f97adc77141331a5f4fc39e4d058dc70b2a (diff) | |
download | bun-404b90badc5856a74c06d04062c850003e28fed5.tar.gz bun-404b90badc5856a74c06d04062c850003e28fed5.tar.zst bun-404b90badc5856a74c06d04062c850003e28fed5.zip |
Add ecosystem guides (#3847)
* Add ecosystem guides
* Update titles
* Rename stric
* Add unlink and fetch guides
* Add formdata guide
* Tweak title
* Moar
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 |