Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@kubb/plugin-ts

Package Overview
Dependencies
Maintainers
1
Versions
661
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kubb/plugin-ts

Generate TypeScript types, interfaces, and enums from your OpenAPI specification. The foundational plugin that powers type safety across the entire Kubb ecosystem.

Source
npmnpm
Version
5.0.0-beta.33
Version published
Weekly downloads
115K
-8.56%
Maintainers
1
Weekly downloads
 
Created
Source

@kubb/plugin-ts

Kubb logo

npm version npm downloads Coverage License Sponsors

View Demo · Documentation · Report Bug · Request Feature

@kubb/plugin-ts generates TypeScript types from your OpenAPI specification. It produces interfaces, enums, union types, and string literals that other Kubb plugins import and build on.

Features

  • Generates interfaces, enums, union types, and string literals from OpenAPI schemas
  • Other plugins — @kubb/plugin-client, @kubb/plugin-zod, and the query plugins — import from its output
  • Supports strict typing mode for required vs optional fields
  • Controls output organization by tag, operation, or a custom grouping

Installation

bun add @kubb/plugin-ts
# or
pnpm add @kubb/plugin-ts
# or
npm install @kubb/plugin-ts

Documentation

See the full documentation for configuration options and examples.

Supporting Kubb

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

My sponsors

Keywords

code-generation

FAQs

Package last updated on 29 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts