MyGit

honojs/hono

Fork: 601 Star: 20613 (更新于 2024-12-01 11:01:56)

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 12kB. 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-12-25 06:05:47 RSSNext/Follow

2024-12-24 21:00:18 siyuan-note/siyuan

2024-12-24 19:41:21 lobehub/lobe-chat

2024-12-24 18:12:11 MetaCubeX/metacubexd

2024-12-24 09:50:10 vitejs/vite

2024-12-24 05:54:40 laurent22/joplin