@xtandard/links/hono
Hono adapter: linksPanel() returns a Hono sub-app serving the panel (to
compose with app.route(path, panel)), and linksRedirect() is middleware
answering short links and calling next() for everything else.
import { … } from "@xtandard/links/hono";Functions
Section titled “Functions”| Name | Summary |
|---|---|
linksPanel |
Create a Hono sub-app serving the panel. The admin core and the openapi() document builder are attached. |
linksRedirect |
Middleware answering short links and calling next() for everything else. |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
HonoLinksRedirect |
The redirect middleware, with the underlying handler attached. |
Re-exports
Section titled “Re-exports”| Name | Documented on |
|---|---|
LinksPanelOptions |
@xtandard/links |
LinksRedirectInput |
@xtandard/links/elysia |