v0.0.4
[PoC] Example project of third-party middleware for Hono
Repository
Current version released
3 years ago
Dependencies
deno.land/x
Versions
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 '@honojs/hello'
import { Hono } from 'hono'
const app = new Hono()
app.use('*', hello('Hello!! Hono!!'))
app.get('/', (c) => c.text('foo'))
export default appAuthor
Yusuke Wada https://github.com/yusukebe
License
MIT