mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
* Add ecosystem guides * Update titles * Rename stric * Add unlink and fetch guides * Add formdata guide * Tweak title * Moar
19 lines
395 B
Markdown
19 lines
395 B
Markdown
[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();
|
|
|
|
app.get("/", c => c.text("Hono!"));
|
|
|
|
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
|
|
$ bun run start
|
|
```
|