0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-24 11:07:29 +01:00

Update readme

This commit is contained in:
Yusuke Wada 2021-12-15 05:17:56 +09:00
parent fbafc6e360
commit 4bc2d12d55

View File

@ -1,4 +1,31 @@
## hono
# 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`.
## Author