@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";Functions
Section titled “Functions”| 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. |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
ExpressLinksHandler |
An Express request handler with the admin core + openapi attached. |
ExpressLinksRedirect |
The redirect middleware, with the underlying handler attached. |
Re-exports
Section titled “Re-exports”| Name | Documented on |
|---|---|
LinksPanelOptions |
@xtandard/links |
LinksRedirectInput |
@xtandard/links/elysia |