0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-21 18:18:57 +01:00
hono/README.md

37 lines
387 B
Markdown
Raw Normal View History

2021-12-14 21:17:56 +01:00
# 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`.
2021-12-14 20:26:22 +01:00
## Author
Yusuke Wada <https://github.com/yusukebe>
## License
MIT