honojs-middleware/packages/hello
Jonathan Haines e1eae2078f
refactor(hello): enable isolated declarations (#1198)
2025-06-09 18:17:27 +09:00
..
src refactor(hello): enable isolated declarations (#1198) 2025-06-09 18:17:27 +09:00
CHANGELOG.md chore(hello): rename @honojs/hello to @hono/hello in CHANGELOG.md (#371) 2024-01-31 04:20:44 +09:00
README.md chore: add coverage badges (#1023) 2025-03-19 17:53:11 +09:00
package.json build: typescript project references (#1077) 2025-04-02 18:28:02 +09:00
tsconfig.build.json refactor(hello): enable isolated declarations (#1198) 2025-06-09 18:17:27 +09:00
tsconfig.json build: typescript project references (#1077) 2025-04-02 18:28:02 +09:00
tsconfig.spec.json feat(eslint-config): enable linting with type information (#1098) 2025-04-07 19:31:09 +09:00
vitest.config.ts test(workspace): upgrade to vitest v3 (#1009) 2025-03-12 12:52:15 +09:00

README.md

Hello middleware for Hono

codecov

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