# Kubb

Code generator that turns an OpenAPI spec into TypeScript types, API clients, query hooks, validators and mocks.


Source: https://findsoftware.frbit.cloud/kubb/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://kubb.dev/
- repository: https://github.com/kubb-labs/kubb
- docs: https://kubb.dev/docs/5.x/introduction
- plugins: https://github.com/kubb-labs/plugins
- discord: https://discord.gg/shfBFeczrm

### Identity

- status: active
- maintainer: Stijn Van Hulle
- maintainerType: unknown
- parent: unknown
- firstRelease: 2023
- hqCountry: unknown

### Kind

- category: dev-tool
- hosting: not applicable
- language: javascript
- runtime: node
- runtimeMin: node 22
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: local
- renderingModes: not applicable
- installMethod: npm install -D kubb

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 5
- latestReleaseDate: 2026-11-15

### Adoption

- githubStargazers: 1846
- packagistDownloads: not applicable
- npmWeeklyDownloads: 99703
- contributors: 91
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1
- dependentPackages: unknown

### Sources

- urls: https://kubb.dev/ (read 2026-11-16)
- urls: https://api.github.com/repos/kubb-labs/kubb (read 2026-11-16)
- urls: https://kubb.dev/docs/5.x/introduction (read 2026-11-16)
- maintainer: https://github.com/kubb-labs/kubb/blob/main/LICENSE (read 2026-11-16)
- firstRelease: https://registry.npmjs.org/kubb (read 2026-11-16)
- category: https://kubb.dev/ (read 2026-11-16)
- language: https://api.github.com/repos/kubb-labs/kubb (read 2026-11-16)
- runtime: https://kubb.dev/docs/5.x/how-to/installation (read 2026-11-16)
- runtimeMin: https://github.com/kubb-labs/kubb/blob/kubb@5.20.2/packages/kubb/package.json (read 2026-11-16)
- license: https://kubb.dev/docs/5.x/introduction (read 2026-11-16)
- licenseModel: https://kubb.dev/docs/5.x/introduction (read 2026-11-16)
- installMethod: https://kubb.dev/docs/5.x/how-to/installation (read 2026-11-16)
- runsAs: https://kubb.dev/ (read 2026-11-16)
- urls: https://github.com/kubb-labs/kubb/blob/main/packages/kubb/README.md (read 2026-11-16)
- currentMajor: https://api.github.com/repos/kubb-labs/kubb/releases/latest (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/kubb-labs/kubb/releases/latest (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/kubb-labs/kubb (read 2026-11-16)
- contributors: https://api.github.com/repos/kubb-labs/kubb/contributors?per_page=1 (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/kubb (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/kubb (read 2026-11-16)

## Notes

Kubb is a code generator that reads an API description, such as OpenAPI, and writes TypeScript types, API clients, query hooks, validators and mocks. Each output is a plugin listed in a kubb.config.ts file, and running kubb generate writes the files, which the application then imports like any other module.

The repository is a monorepo that also ships the command-line package, the plugins and the adapters. The libraries that the generated clients import at runtime, such as axios, React or TanStack Query, are installed by the application's owner.

## Worth knowing

Kubb Studio is a hosted companion with a shared sandbox, and it can also run as a local agent started from a project folder. The README says Kubb works without Studio. The integration pages describe generation during a build or in CI, through the command line or a bundler plugin.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
