honojs-middleware/packages/hello
Jonathan Haines 4d67af162f
test(workspace): upgrade to vitest v3 (#1009)
* test(workspace): upgrade to vitest v3

Fixes #1007

* chore(standard-validator): add vitest type to `tsconfig.json`

* chore: update `yarn.lock`

* chore(zod-openapi): bump `typescript`

* chore(typia-validator): make it ESM

* ci(bun-transpiler): fix Bun to v1.1.32

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-12 12:52:15 +09:00
..
src chore(hello): tweak (#235) 2023-11-05 16:45:07 +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 feat: `@honojs` to `@hono` (#9) 2022-12-24 20:18:26 +09:00
package.json test(workspace): upgrade to vitest v3 (#1009) 2025-03-12 12:52:15 +09:00
tsconfig.json feat: add hello middleware (#1) 2022-10-16 18:14:21 +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

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