Documentation content for Kubb, the meta framework for code generation.
This repository holds the raw markdown documentation files that power kubb.dev. Content is organized by category: plugins, adapters, parsers, and versioned docs.
Want to improve the docs? See CONTRIBUTING.md.
- Generate TypeScript types, React Query and Vue Query hooks, SWR hooks, Zod validators, Faker mocks, and MSW handlers, each from its own plugin.
- Generate a typed Axios or Fetch client with status-keyed results, auth, validation, file uploads, server-sent events, interceptors, and a swappable transport.
- Read any OpenAPI 2.0, 3.0, or 3.1 spec through the OpenAPI adapter, or add your own adapter.
- Shape the output by grouping files by tag or path, including or excluding operations, and writing to disk, memory, or a custom storage backend.
- Generate Cypress tests and a Model Context Protocol server, or write your own plugin.
- Run generation in Vite, Nuxt, and other bundlers with
unplugin-kubb, or from AI assistants and Claude Code.
| Directory | Description |
|---|---|
plugins/ |
Plugin reference pages |
adapters/ |
Adapter reference pages |
parsers/ |
Parser reference pages |
docs/5.x/ |
Versioned documentation for Kubb v5 |
Found a mistake or want to improve the docs? We welcome contributions:
- Found an error? File it in the issue tracker.
- Have a suggestion? Open an issue.
- Need help? Ask the community on Discord.
See CONTRIBUTING.md for details on the repo structure and how to submit changes.
Kubb's development is funded by sponsors. To support the project, become a sponsor on GitHub or back us on Open Collective.