From 4bc2d12d55877195c5edf7652b0d77e572bdfa94 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Wed, 15 Dec 2021 05:17:56 +0900 Subject: [PATCH] Update readme --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f84c41b..7e446873 100644 --- a/README.md +++ b/README.md @@ -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