* 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> |
||
---|---|---|
.. | ||
src | ||
CHANGELOG.md | ||
README.md | ||
package.json | ||
tsconfig.json | ||
vitest.config.ts |
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