API reference#
Every Kiln package has its own reference page. Each page lists every export, option, and default, with a short example.
| Package | Reference | Use it for |
|---|---|---|
@kiln-js/core | core | Route matching, the scanner, env validation, titles, islands, deferred data, errors, and form validation. |
@kiln-js/server | server | The request handler, security (CSRF and CORS), and form parsing. |
@kiln-js/client | client | Hydration, client navigation, Link, prefetching, and error boundaries. |
@kiln-js/vite-plugin | vite-plugin | Route table generation, server-code removal, title rewriting, and islands. |
@kiln-js/md | md | Markdown pages and tag components. |
@kiln-js/adapter-vercel | adapter-vercel | Vercel Build Output and Edge functions. |
@kiln-js/cli | cli | The kiln command. |
@kiln-js/auth | auth | Accounts, sessions, OAuth, and authorization. |

