@hey-api/openapi-ts alternatives
8 packages that do the same job as @hey-api/openapi-ts: openapi-typescript-codegen, @kubb/plugin-client, zod-openapi, chanfana, fastify-zod-openapi, @asteasolutions/zod-to-openapi, openapi-fetch, openapi-react-query. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| @hey-api/openapi-ts This package | 3.4m | +473% | - | 10 | 3 months ago | ESM only | Bundled | - |
| openapi-typescript-codegen | 346k | +54% | - | 5 | 3 months ago | CommonJS | Bundled | - |
| @kubb/plugin-client | 72.5k | - | - | 7 | 1 month ago | ESM + CommonJS | Bundled | - |
| zod-openapi | 994k | +287% | - | 0 | 24 days ago | ESM + CommonJS | Bundled | - |
| chanfana | 68.6k | +172% | - | 5 | 1 month ago | ESM + CommonJS | Bundled | - |
| fastify-zod-openapi | 54.1k | +106% | - | 4 | 2 months ago | ESM + CommonJS | Bundled | - |
| @asteasolutions/zod-to-openapi | 3m | +256% | - | 1 | 2 months ago | ESM + CommonJS | Bundled | - |
| openapi-fetch | 6.6m | +383% | - | 1 | 7 months ago | ESM + CommonJS | Bundled | - |
| openapi-react-query | 327.5k | +347% | - | 1 | 7 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.
Library that generates Typescript clients based on the OpenAPI specification.
Compared with @hey-api/openapi-ts
- 9.7x fewer weekly downloads (346k vs 3.4m)
- 5 dependencies vs 10
- CommonJS vs ESM only
- Declares no Node.js engine range vs Node.js >=22.18.0
- Last release 20 Jun 2026 vs 22 Jun 2026
- 1.6x fewer GitHub stars (3.4k vs 5.4k)
API client generator plugin for Kubb, creating type-safe HTTP clients (Axios, Fetch) from OpenAPI specifications for making API requests.
Compared with @hey-api/openapi-ts
- 47x fewer weekly downloads (72.5k vs 3.4m)
- 7 dependencies vs 10
- ESM + CommonJS vs ESM only
- Declares Node.js >=20 vs Node.js >=22.18.0
- Last release 4 Aug 2026 vs 22 Jun 2026
- 3.0x fewer GitHub stars (1.8k vs 5.4k)
Convert Zod Schemas to OpenAPI v3.x documentation
Compared with @hey-api/openapi-ts
- 3.4x fewer weekly downloads (994k vs 3.4m)
- 0 dependencies vs 10
- ESM + CommonJS vs ESM only
- Declares Node.js >=22.14.0 vs Node.js >=22.18.0
- Last release 31 Aug 2026 vs 22 Jun 2026
- 8.4x fewer GitHub stars (646 vs 5.4k)
OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!
Compared with @hey-api/openapi-ts
- 49x fewer weekly downloads (68.6k vs 3.4m)
- 5 dependencies vs 10
- ESM + CommonJS vs ESM only
- Declares Node.js >=18 vs Node.js >=22.18.0
- Last release 17 Aug 2026 vs 22 Jun 2026
- 7.1x fewer GitHub stars (767 vs 5.4k)
Fastify plugin for zod-openapi
Compared with @hey-api/openapi-ts
- 62x fewer weekly downloads (54.1k vs 3.4m)
- 4 dependencies vs 10
- ESM + CommonJS vs ESM only
- Declares Node.js >=20 vs Node.js >=22.18.0
- Last release 20 Jul 2026 vs 22 Jun 2026
- 45x fewer GitHub stars (122 vs 5.4k)
Builds OpenAPI schemas from Zod schemas
Compared with @hey-api/openapi-ts
- 1.1x fewer weekly downloads (3m vs 3.4m)
- 1 dependency vs 10
- ESM + CommonJS vs ESM only
- Declares no Node.js engine range vs Node.js >=22.18.0
- Last release 19 Jul 2026 vs 22 Jun 2026
- 3.4x fewer GitHub stars (1.6k vs 5.4k)
Fast, type-safe fetch client for your OpenAPI schema. Only 6 kb (min). Works with React, Vue, Svelte, or vanilla JS.
Compared with @hey-api/openapi-ts
- 1.9x more weekly downloads (6.6m vs 3.4m)
- 1 dependency vs 10
- ESM + CommonJS vs ESM only
- Declares no Node.js engine range vs Node.js >=22.18.0
- Last release 11 Feb 2026 vs 22 Jun 2026
- 1.5x more GitHub stars (8.4k vs 5.4k)
Fast, type-safe @tanstack/react-query client to work with your OpenAPI schema.
Compared with @hey-api/openapi-ts
- 10x fewer weekly downloads (327.5k vs 3.4m)
- 1 dependency vs 10
- ESM + CommonJS vs ESM only
- Declares no Node.js engine range vs Node.js >=22.18.0
- Last release 11 Feb 2026 vs 22 Jun 2026
- 1.5x more GitHub stars (8.4k vs 5.4k)
Indexability: Indexed.