MyGit

honojs/hono

Fork: 579 Star: 20201 (更新于 2024-11-08 19:35:59)

license: MIT

Language: TypeScript .

Web framework built on Web Standards

最后发布版本: v4.6.2 ( 2024-09-17 09:16:04)

官方网址 GitHub网址

Hono

Documentation 👉 hono.dev
Now supports JSR and deno.land/x is deprecated! See Migration guide.


GitHub Workflow Status GitHub npm npm JSR Bundle Size Bundle Size GitHub commit activity GitHub last commit codecov Discord badge

Hono - means flame🔥 in Japanese - is a small, simple, and ultrafast web framework built on Web Standards. It works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, AWS Lambda, Lambda@Edge, and Node.js.

Fast, but not only fast.

import { Hono } from 'hono'
const app = new Hono()

app.get('/', (c) => c.text('Hono!'))

export default app

Quick Start

npm create hono@latest

Features

  • Ultrafast 🚀 - The router RegExpRouter is really fast. Not using linear loops. Fast.
  • Lightweight 🪶 - The hono/tiny preset is under 13kB. Hono has zero dependencies and uses only the Web Standard API.
  • Multi-runtime 🌍 - Works on Cloudflare Workers, Fastly Compute, Deno, Bun, AWS Lambda, Lambda@Edge, or Node.js. The same code runs on all platforms.
  • Batteries Included 🔋 - Hono has built-in middleware, custom middleware, and third-party middleware. Batteries included.
  • Delightful DX 😃 - Super clean APIs. First-class TypeScript support. Now, we've got "Types".

Documentation

The documentation is available on hono.dev.

Migration

The migration guide is available on docs/MIGRATION.md.

Communication

X and Discord channel are available.

Contributing

Contributions Welcome! You can contribute in the following ways.

  • Create an Issue - Propose a new feature. Report a bug.
  • Pull Request - Fix a bug and typo. Refactor the code.
  • Create third-party middleware - Instruct below.
  • Share - Share your thoughts on the Blog, X, and others.
  • Make your application - Please try to use Hono.

For more details, see docs/CONTRIBUTING.md.

Contributors

Thanks to all contributors!

Authors

Yusuke Wada https://github.com/yusukebe

RegExpRouter, SmartRouter, LinearRouter, and PatternRouter are created by Taku Amano https://github.com/usualoma

License

Distributed under the MIT License. See LICENSE for more information.

最近版本更新:(数据更新于 2024-09-17 12:46:20)

2024-09-17 09:16:04 v4.6.2

2024-09-11 21:47:22 v4.6.1

2024-09-11 20:16:09 v4.6.0

2024-09-03 16:16:56 v4.5.11

2024-08-31 10:34:01 v4.5.10

2024-08-26 20:35:52 v4.5.9

2024-08-22 15:14:05 v4.5.8

2024-08-21 10:15:09 v4.5.7

2024-08-17 18:16:52 v4.5.6

2024-08-11 12:05:49 v4.5.5

主题(topics):

aws-lambda, bun, cloudflare, cloudflare-workers, deno, npm, router, typescript, web-framework

honojs/hono同语言 TypeScript最近更新仓库

2024-11-24 06:05:47 RSSNext/Follow

2024-11-23 21:18:28 MetaCubeX/metacubexd

2024-11-23 12:44:19 clash-verge-rev/clash-verge-rev

2024-11-23 10:05:04 continuedev/continue

2024-11-23 02:27:31 microsoft/TypeScript

2024-11-23 00:25:37 siyuan-note/siyuan