Skip to content

@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";
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.
Name Summary
HonoLinksRedirect The redirect middleware, with the underlying handler attached.
Name Documented on
LinksPanelOptions @xtandard/links
LinksRedirectInput @xtandard/links/elysia