@michaelthielemann/kestrel-h3
| Install | |
|---|---|
npm install @michaelthielemann/kestrel-h3 |
|
| Latest Version: | 5.8.1 |
| License: | Apache-2.0 |
| Last Updated: | Oct 19, 2026 |
| Links: | GitHub · npm |
@michaelthielemann/kestrel-h3
Adapter: serves the HTTP triggers of a booted Kestrel instance as one h3 event handler – for
Nuxt/Nitro (h3 v1) or any h3 app. Same behaviour as the built-in server: route params and
*path, query + JSON body → payload, multipart → files, binary results, { error, runId },
X-Kestrel-Run-Id, body limit (413), client ip. Options: mountPath (default "", e.g. /api), maxBodyBytes,
inlineTypes, and the same peer policy as the core server – trustProxy (the X-Forwarded-For
entry proxyHops from the right, default 1; a shorter chain yields no address), trustedHeader
(its first value is the client; missing → no address) – derived by the core's clientIp(), so
ctx.ip (rate limits) cannot drift between the two paths. Boot Kestrel with http: null;
health/CORS stay with the host.
Knows no contracts and no modules.
Related Packages
Nuxt 4 layer with the Kestrel admin UI and public site renderer; embeds a Kestre...
renderer@1 backed by the running Nuxt app: renders a page through Nitro's localF...
Version History
| Version | Released | License |
|---|---|---|
| 5.8.1 | Apache-2.0 | |
| 5.8.0 | Apache-2.0 | |
| 5.7.0 | Apache-2.0 | |
| 5.6.0 | Apache-2.0 | |
| 5.5.0 | Apache-2.0 | |
| 5.4.0 | Apache-2.0 | |
| 5.3.0 | Apache-2.0 | |
| 5.2.0 | Apache-2.0 | |
| 5.1.0 | Apache-2.0 | |
| 5.0.3 | Apache-2.0 | |
| 5.0.2 | Apache-2.0 | |
| 5.0.0 | Apache-2.0 |