Building the product · Independent · 26 Oct 2026

kubb-labs/kubb

🧡 Turn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI.

← Building the product
Verified26 Oct 2026

Radar check

What we found when we opened it. Every bar is one fact, with its date.

Alive100

Last code pushed 25 Oct 2026, the same day before this check.

Releases100

Latest release kubb@5.14.2 on 25 Oct 2026.

Maturity70

Public since January 2023, a little over 3 years.

Adoption65

1,829 stars and 149 forks.

Activity100

1,250 commits and 46 new issues in the last 90 days.

Community100

104 contributors. 464 pull requests merged in 90 days.

Security80

A security policy says how to report a problem. No published security advisories.

Licence MIT: permissive: use it for anything, keep the noticeSetup effort 2 of 5Payoff 4 of 5
How the bars are scored
  • Alive. Days since the last code push: a week or less 100, a month 90, three months 70, six months 50, a year 30, eighteen months 15, older 0.
  • Releases. Age of the latest GitHub release, on a similar scale; no bar when the project publishes no releases.
  • Maturity. Age of the project: eight years 100, five 90, three 70, two 55, one 40, six months 25, younger 10.
  • Adoption. Stars on a log scale: 100,000 stars is 100, 10,000 is 80, 1,000 is 60, 100 is 40.
  • Activity. Commits in the last 90 days: 300 or more 100, 100 85, 30 65, 10 45, any 25.
  • Community. People who have contributed: 100 or more 100, 30 80, 10 60, 5 40, 2 25, one 10.
  • Security. A published security policy 80, none 40; published advisories are listed, not scored.

Checked by Repo Radar on 26 Oct 2026 from the repository on GitHub.

In simple English

When you build a web app, you need to write code that matches your backend server. This tool reads your server definition file and writes that matching code for you. It saves you from writing boring types and fetching functions by hand. If your server changes, you run the tool again to update your app. It is free to use, and you run it on your own computer.

What it is

Kubb is a code generator for TypeScript (a programming language that adds strict types to JavaScript) that reads OpenAPI (a standard way to describe a web server interface) specifications. It uses a plugin system to output different files like Zod (a tool for checking data types) validators, React Query hooks, or Axios client functions.

What it is good for

Solo builders who use OpenAPI to design their backend and want to skip writing manual TypeScript types and API request functions for their frontend app.

Stars1.8k
LicenceMIT
Latestkubb@5.14.2 (2026-10-25)checked 26 Oct 2026
Last code change2026-10-25
Written inTypeScript
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Generates correct TypeScript types automatically from your server definition.
  • Saves hours of manual coding when your API changes frequently.
  • Supports popular tools like React Query, Zod, and Axios through plugins.
Watch for
  • Requires comfort with the command line and configuration files.
  • Generated code can clutter your repository if you do not output it to a dedicated folder.
  • Breaks if your OpenAPI specification file contains errors or non-standard syntax.
Replaces

Writing API client functions and TypeScript interfaces by hand

Works well with

Zod (a tool for checking data types in JavaScript)

Similar repositories
Also reviewed on Repo Radar
  • evanw/esbuild40k stars

    Joins many JavaScript, TypeScript and CSS files into one, in well under a second.

  • Textualize/textual38k stars

    Lets a Python program draw a real interface inside a terminal, and serve the same thing to a browser.

  • python-attrs/cattrs1.1k stars

    Turns loose data into declared Python objects, and declared objects back into loose data.

Install
npm install @kubb/core @kubb/cli --save-dev
npx kubb init

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Build & Ship › APIs & Developer Utilities › API Client Libraries & SDKs.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.