Skip to content

Hono Middleware

TrendingActive
honojs/middleware

The monorepo of third-party middleware for the Hono web framework, published to npm under the @hono namespace.

View on GitHub
Stars
1k
Forks
380
Watchers
1k
Open issues
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.

Similar open-source projects, ranked by shared categories and tags.

All Web Framework projects →