Skip to content

Repository files navigation


Kubb Docs

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.

Features

  • 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.

Content

Directory Description
plugins/ Plugin reference pages
adapters/ Adapter reference pages
parsers/ Parser reference pages
docs/5.x/ Versioned documentation for Kubb v5

Contributing

Found a mistake or want to improve the docs? We welcome contributions:

See CONTRIBUTING.md for details on the repo structure and how to submit changes.

Sponsors

Kubb's development is funded by sponsors. To support the project, become a sponsor on GitHub or back us on Open Collective.

stijnvanhulle sponsors

License

MIT © Stijn Van Hulle

Star history

Star history chart

Releases

Packages

Contributors