跳到正文

Hono Middleware

热门趋势活跃
honojs/middleware

Hono Web 框架的第三方中间件 monorepo,所有包都以 @hono 命名空间发布到 npm。

在 GitHub 查看
星标
1002
Fork
380
关注
1002
未关闭 Issue
222

该介绍目前仅提供英文版本。

Overview

This monorepo holds the third-party middleware for Hono, the web framework that runs on Cloudflare Workers and other runtimes. Middleware here is published to npm under the @hono namespace — for example, packages/hello ships as @hono/hello.

Middleware types in Hono

  1. Custom middleware — written by users themselves.
  2. Built-in middleware — part of the Hono core, with no external dependencies.
  3. Third-party middleware — maintained in this repository and allowed to depend on external libraries.

Usage

npm install @hono/hello

On Deno, import from npm: import { hello } from 'npm:@hono/hello'.

Contributing

Anyone can propose a middleware. Once the Hono maintainers accept it, the proposer becomes its author and maintains it here, responding to issues and reviewing pull requests.

按共同分类和标签排序的同类开源项目。

全部 Web 框架项目 →