nifra_example
Get a verified, copy-pasteable Nifra code example for a task - auth route, file upload, ISR page, loader/action, typed client, SSE, deployment, and more. Every snippet is typechecked against the installed Nifra version, so it compiles as-is. Returns code as text for direct use. Call with no query for the grouped index; pass query (e.g. "protected route", "upload", "isr revalidate") for matching snippets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max examples to return (default 3, max 5). | |
| query | No | What you want an example of (omit for the index). |