2023-04-21 22:43:30 +08:00
|
|
|
# Router using @medley/router
|
|
|
|
|
2025-03-19 16:53:11 +08:00
|
|
|
[](https://codecov.io/github/honojs/middleware)
|
|
|
|
|
2023-04-21 22:43:30 +08:00
|
|
|
Just a PoC.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```ts
|
|
|
|
import { Hono } from 'hono'
|
|
|
|
import { MedleyRouter } from '@hono/medley-router'
|
|
|
|
|
|
|
|
const app = new Hono({ router: new MedleyRouter() })
|
|
|
|
|
|
|
|
app.get('/', (c) => c.text('Hello'))
|
|
|
|
```
|
|
|
|
|
|
|
|
## Authors
|
|
|
|
|
|
|
|
Yusuke Wada <https://github.com/yusukebe>
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|