honojs-middleware/packages/hello
3w36zj6 16c103c2a9
chore: update hono version to 4.8 (#1281)
* chore: update hono version to 4.8

* chore: add hono as a devDependency to all workspaces
2025-07-05 18:37:06 +09:00
..
src refactor(hello): enable isolated declarations (#1198) 2025-06-09 18:17:27 +09:00
CHANGELOG.md Version Packages (#1206) 2025-06-09 19:05:17 +09:00
README.md chore: add coverage badges (#1023) 2025-03-19 17:53:11 +09:00
deno.json chore: add jsr specifier for hono (#1277) 2025-07-04 10:47:19 +09:00
package.json chore: update hono version to 4.8 (#1281) 2025-07-05 18:37:06 +09:00
tsconfig.build.json refactor(tsconfig): use `configDir` (#1238) 2025-06-19 16:52:41 +09:00
tsconfig.json refactor: composite build (#1230) 2025-06-16 11:23:47 +09:00
tsconfig.spec.json refactor(tsconfig): use `configDir` (#1238) 2025-06-19 16:52:41 +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