@kubb/core
v4.20.0
Published
Core functionality for Kubb's plugin-based code generation system, providing the foundation for transforming OpenAPI specifications.
Maintainers
Readme
Quick Start
Get started with Kubb in seconds:
npx kubb initThe interactive setup will:
- Create a
package.json(if needed) - Guide you through plugin selection
- Install packages automatically
- Generate
kubb.config.ts
Then generate your code:
npx kubb generateSee the documentation for detailed usage and advanced features.
Features
- Works with Node.js 20+.
- Convert Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1 to TypeScript, Zod, React-Query, ...
- Plugin ecosystem to extend beyond the default plugins we provide.
- CLI support with progress bar and detailed logs.
- Model Context Protocol (MCP) server for AI assistants like Claude, Cursor, and other MCP-compatible tools.
- Debug tools with React DevTools.
- Generates barrel files (index.ts).
- And so much more ...
Supporting Kubb
Kubb uses an MIT-licensed open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:
