components-generators

🧡 The meta framework for code generation. Automate OpenAPI to type-safe TypeScript, Zod, and TanStack Query with a modular, plugin-based engine.

التثبيت
CLI
npx skills add https://github.com/kubb-labs/kubb --skill components-generators

قم بتثبيت هذه المهارة باستخدام واجهة سطر الأوامر (CLI) وابدأ في استخدام سير عمل SKILL.md في مساحة عملك.

آخر تحديث 4/29/2026
Kubb logo

npm version
npm downloads
Coverage
License
Sponsors

The meta framework for code generation

Stop writing glue code. Define your API once and Kubb generates types, clients, hooks, validators, mocks and more.

View Demo · Documentation · Report Bug · Request Feature


Quick Start

Get started with Kubb in seconds:

npx kubb init

The 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 generate

See the documentation for detailed usage and advanced features.

Features

  • Works with Node.js 22+ and TypeScript 6.
  • Convert Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1 to TypeScript types, API clients, and more via the plugin ecosystem.
  • Extensible plugin and middleware system for customizing and composing code generation.
  • CLI support with interactive setup, progress bar, and detailed logs.
  • Model Context Protocol (MCP) server for AI assistants like Claude, Cursor, and other MCP-compatible tools.
  • JSX-based renderer (@kubb/renderer-jsx) for building custom plugin output.
  • Barrel file generation via the @kubb/middleware-barrel middleware.

Supporting Kubb

Kubb is an 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:

My sponsors

Contributors Contributors

Stijn Van Hulle
Stijn Van Hulle

💻
Alfred
Alfred

💻
Kirill Agalakov
Kirill Agalakov

💻
Nick Williams
Nick Williams

📖
helt
helt

💻
Vasily Mikhaylovsky
Vasily Mikhaylovsky

💻
Chaim Lev-Ari
Chaim Lev-Ari

💻
Pavel Belousov
Pavel Belousov

💻
Dmitry Belov
Dmitry Belov

💻
Alex Burgel
Alex Burgel

💻
Daniel Garcia
Daniel Garcia

💻
wuyuanyi135
wuyuanyi135

💻
Chris Thompson
Chris Thompson

💻
Caleb Hoyoul Kang
Caleb Hoyoul Kang

💻
Gregory Zhukovsky
Gregory Zhukovsky

💻
Christoffer Nørbjerg
Christoffer Nørbjerg

💻
CHE1RON
CHE1RON

💻
ekaradon
ekaradon

💻
Thijmen Stavenuiter
Thijmen Stavenuiter

💻
Bohdan Husak
Bohdan Husak

📖
Éric Le Maître
Éric Le Maître

💻
Rubens Pereira do Nascimento
Rubens Pereira do Nascimento

💻
Matt Sutkowski
Matt Sutkowski

💻
Vítor Camacho
Vítor Camacho

💻
Václav Procházka
Václav Procházka

💻
Luiz Bett
Luiz Bett

💻
Sebastian Andersen
Sebastian Andersen

💻
Akino
Akino

💻
Ricardo Machado
Ricardo Machado

💻
Simon El Nahas
Simon El Nahas

📖
maartenvansambeek
maartenvansambeek

💻
Stefan du Fresne
Stefan du Fresne

💻
Hugo Felippe de Souza Cruz
Hugo Felippe de Souza Cruz

💻
Sébastien Vanvelthem
Sébastien Vanvelthem

💻
Vitaly Gashkov
Vitaly Gashkov

📖
Duco Drupsteen
Duco Drupsteen

💻
th3l0g4n
th3l0g4n

💻
rxliuli
rxliuli

💻
humarkx
humarkx

💻
Jakub Cerovsky
Jakub Cerovsky

💻
Pachara Chantawong
Pachara Chantawong

💻
Volodymyr Kushnir
Volodymyr Kushnir

💻
GKNewsrooms
GKNewsrooms

💻
Kamil Stepczuk
Kamil Stepczuk

💻
João Brilhante
João Brilhante

💻
Kamil Sieradzki
Kamil Sieradzki

💻
Eric Pierlot
Eric Pierlot

💻
Alexander Sjöcrona Tholin
Alexander Sjöcrona Tholin

💻
Stephen Zhou
Stephen Zhou

💻
Ilia Choly
Ilia Choly

💻
Alex Skoropad
Alex Skoropad

💻
Jay Patel
Jay Patel

💻
Hamza Mihai Daniel
Hamza Mihai Daniel

💻
Sascha Buehrle
Sascha Buehrle

💻

License

Most of this repository is licensed under the MIT License, Copyright © 2025 Stijn Van Hulle. Some components are licensed
under AGPL-3.0-or-later.

See LICENSE for details.

Star History

Star History Chart