Coder Social home page Coder Social logo

honojs-middleware's Introduction

monorepo for Hono third-party middleware

This repository is monorepo for third-party middleware of Hono. We develop middleware in this repository and manage the issues and pull requests.

What is third-party middleware?

Hono has three types of middleware.

  1. Custom middleware - Created by users themselves.
  2. Built-in middleware - Included in the Hono core package. It does not depend on any other external libraries.
  3. Third-party middleware - Created outside of the core package. It can depend on the external libraries.

Third-party middleware is maintained in this github.com/honojs/middleware repository and published to npm in the @hono namespace. For example, a third-party middleware called hello is hosted at github.com/honojs/middleware/packages/hello and distributed under the name @hono/hello. You can install it with the following command.

npm install @hono/hello

For Deno, we do not publish them on deno.land/x, but distribute them via CDNs such as Skypack and esm.sh. We will also use the npm: that will be introduced in the Deno itself in the future.

import { hello } from 'npm:@hono/hello'

How to contribute

Anyone can propose third-party Middleware. The Hono maintainers and other contributors will discuss whether we accept the middleware or not. If it's OK, it will be maintained in this repository. The proposer maintains it.

The specific flow is as follows

  1. Clone this repository
  2. Write your middleware. Refer to hello Middleware.
  3. Create the pull request.

We use changesets to manage releases and CHANGELOG. Run the following command at the top level to describe any changes.

yarn changeset

When merged into the main, a pull request for release is created. The Hono maintainers will merge it to release the package at the appropriate time.

Author & License

The Author of this repository is Yusuke Wada <https://github.com/yusukebe>. However, the code under the packages/* is in each Middleware author. Basically, distributed under the MIT license.

honojs-middleware's People

Contributors

a-skua avatar code-hex avatar dennistruemper avatar divyam234 avatar dworznik avatar fahchen avatar floriankapaun avatar github-actions[bot] avatar hnw avatar karibash avatar koralle avatar metrue avatar mikestopcontinues avatar mllnd avatar monoald avatar monsterdeveloper avatar msutkowski avatar nmemoto avatar octoper avatar rawkode avatar ryuapp avatar sacramentix avatar sam-lippert avatar shuymn avatar sor4chi avatar tleperou avatar wildego avatar yoshikouki avatar yusukebe avatar zernico avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.