Skip to content

@xtandard/links/express

Express adapter: linksPanel() bridges Node’s req/res to the web-standard panel handler, and linksRedirect() is middleware answering short links and calling next() for everything else.

import { … } from "@xtandard/links/express";
Name Summary
linksPanel Create an Express handler serving the panel. Use with app.use(path, handler).
linksRedirect Middleware answering short links and calling next() for everything else.
Name Summary
ExpressLinksHandler An Express request handler with the admin core + openapi attached.
ExpressLinksRedirect The redirect middleware, with the underlying handler attached.
Name Documented on
LinksPanelOptions @xtandard/links
LinksRedirectInput @xtandard/links/elysia