@kubb/oas alternatives
8 packages that do the same job as @kubb/oas: openapi-typescript, @asteasolutions/zod-to-openapi, openapi-client-axios, zod-openapi, openapi-fetch, openapi-typescript-codegen, openapi-react-query, fastify-zod-openapi. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| @kubb/oas This package | 166.5k | - | - | 11 | 1 month ago | ESM + CommonJS | Bundled | - |
| openapi-typescript | 5.3m | +257% | - | 6 | 7 months ago | ESM + CommonJS | Bundled | - |
| @asteasolutions/zod-to-openapi | 3m | +256% | - | 1 | 2 months ago | ESM + CommonJS | Bundled | - |
| openapi-client-axios | 184.2k | +159% | - | 3 | 7 months ago | CommonJS | Bundled | - |
| zod-openapi | 994k | +287% | - | 0 | 24 days ago | ESM + CommonJS | Bundled | - |
| openapi-fetch | 6.6m | +383% | - | 1 | 7 months ago | ESM + CommonJS | Bundled | - |
| openapi-typescript-codegen | 346k | +54% | - | 5 | 3 months ago | CommonJS | Bundled | - |
| openapi-react-query | 327.5k | +347% | - | 1 | 7 months ago | ESM + CommonJS | Bundled | - |
| fastify-zod-openapi | 54.1k | +106% | - | 4 | 2 months ago | ESM + CommonJS | Bundled | - |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.
Convert OpenAPI 3.0 & 3.1 schemas to TypeScript
Compared with @kubb/oas
- 32x more weekly downloads (5.3m vs 166.5k)
- 6 dependencies vs 11
- Declares no Node.js engine range vs Node.js >=20
- Last release 11 Feb 2026 vs 4 Aug 2026
- 4.6x more GitHub stars (8.4k vs 1.8k)
Builds OpenAPI schemas from Zod schemas
Compared with @kubb/oas
- 18x more weekly downloads (3m vs 166.5k)
- 1 dependency vs 11
- Declares no Node.js engine range vs Node.js >=20
- Last release 19 Jul 2026 vs 4 Aug 2026
- 1.1x fewer GitHub stars (1.6k vs 1.8k)
JavaScript client library for consuming OpenAPI-enabled APIs with axios. Types included.
Compared with @kubb/oas
- 1.1x more weekly downloads (184.2k vs 166.5k)
- 3 dependencies vs 11
- CommonJS vs ESM + CommonJS
- Declares no Node.js engine range vs Node.js >=20
- Last release 22 Feb 2026 vs 4 Aug 2026
- 2.9x fewer GitHub stars (616 vs 1.8k)
Convert Zod Schemas to OpenAPI v3.x documentation
Compared with @kubb/oas
- 6.0x more weekly downloads (994k vs 166.5k)
- 0 dependencies vs 11
- Declares Node.js >=22.14.0 vs Node.js >=20
- Last release 31 Aug 2026 vs 4 Aug 2026
- 2.8x fewer GitHub stars (646 vs 1.8k)
Fast, type-safe fetch client for your OpenAPI schema. Only 6 kb (min). Works with React, Vue, Svelte, or vanilla JS.
Compared with @kubb/oas
- 40x more weekly downloads (6.6m vs 166.5k)
- 1 dependency vs 11
- Declares no Node.js engine range vs Node.js >=20
- Last release 11 Feb 2026 vs 4 Aug 2026
- 4.6x more GitHub stars (8.4k vs 1.8k)
Library that generates Typescript clients based on the OpenAPI specification.
Compared with @kubb/oas
- 2.1x more weekly downloads (346k vs 166.5k)
- 5 dependencies vs 11
- CommonJS vs ESM + CommonJS
- Declares no Node.js engine range vs Node.js >=20
- Last release 20 Jun 2026 vs 4 Aug 2026
- 1.9x more GitHub stars (3.4k vs 1.8k)
Fast, type-safe @tanstack/react-query client to work with your OpenAPI schema.
Compared with @kubb/oas
- 2.0x more weekly downloads (327.5k vs 166.5k)
- 1 dependency vs 11
- Declares no Node.js engine range vs Node.js >=20
- Last release 11 Feb 2026 vs 4 Aug 2026
- 4.6x more GitHub stars (8.4k vs 1.8k)
Fastify plugin for zod-openapi
Compared with @kubb/oas
- 3.1x fewer weekly downloads (54.1k vs 166.5k)
- 4 dependencies vs 11
- Last release 20 Jul 2026 vs 4 Aug 2026
- 15x fewer GitHub stars (122 vs 1.8k)
Indexability: Indexed.