@hono/hello
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Hello middleware for Hono

An example project of the third-party middleware for Hono. This middleware add X-Message header to the Response.

Usage

import { hello } from '@hono/hello'
import { Hono } from 'hono'

const app = new Hono()

app.use('*', hello('Hello!! Hono!!'))
app.get('/', (c) => c.text('foo'))

export default app

Author

Yusuke Wada https://github.com/yusukebe

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @hono/hello

Weekly Downloads

17

Version

0.1.1

License

MIT

Unpacked Size

3.21 kB

Total Files

6

Last publish

Collaborators

  • yusukebe