0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 19:44:26 +01:00
hono/README.md
2021-12-15 05:31:37 +09:00

42 lines
491 B
Markdown

# hono
Minimal web framework for Cloudflare Workers.
## Install
```sh
$ yarn add hono
```
or
```sh
$ npm install hono
```
## Hello hono!
```js
const Hono = require("hono");
const app = Hono();
app.get("/", () => new Response("Hono!!"));
app.fire(); // call `addEventListener`
```
Then, run `wrangler dev`.
## Related projects
- <https://github.com/bmf-san/goblin>
- <https://github.com/kwhitley/itty-router>
## Author
Yusuke Wada <https://github.com/yusukebe>
## License
MIT