@hey-api/openapi-tsv0.99.0, 22 Jun 2026
🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
$ npm install @hey-api/openapi-tszod-openapiv6.0.2, 31 Aug 2026
Convert Zod Schemas to OpenAPI v3.x documentation
$ npm install zod-openapi| Metric | @hey-api/openapi-ts | zod-openapi | Difference |
|---|---|---|---|
| Weekly downloads | 3,373,199 | 993,987 | @hey-api/openapi-ts 3.4x higher |
| 12-month download growth | +473% | +287% | @hey-api/openapi-ts +186 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 10 | 0 | @hey-api/openapi-ts 10 more |
| Unpacked size | 2.8 MB | 191 kB | zod-openapi 15.0x smaller |
| Latest release | 0.99.0, 22 Jun 2026 | 6.0.2, 31 Aug 2026 | zod-openapi 2 months more recent |
| Releases, last 12 months | 67 | 8 | @hey-api/openapi-ts 59 more |
| First published | 22 Mar 2024 | 20 Mar 2023 | zod-openapi 12 months earlier |
| GitHub stars | 5,438 | 646 | @hey-api/openapi-ts 8.4x higher |
| Open issues | 518 | 7 | @hey-api/openapi-ts 511 more |
| Open pull requests | 121 | 5 | @hey-api/openapi-ts 116 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 2,998 | 40 | @hey-api/openapi-ts 75.0x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM only | ESM + CommonJS | Differs |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.
@hey-api/openapi-ts3.4m latest weekzod-openapi994k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
@hey-api/openapi-ts
Major versions
- 0.27.3722 Mar 2024
Last 5 releases
- 0.99.022 Jun 2026
- 0.98.28 Jun 2026
- 0.98.11 Jun 2026
- 0.98.01 Jun 2026
- 0.97.325 May 2026
271 releases in total, 67 in the last 12 months
zod-openapi
Major versions
- 0.1.014 Apr 2023
- 1.0.025 Apr 2023
- 2.0.030 Apr 2023
- 3.0.020 Sept 2024
- 4.0.010 Nov 2024
- 5.0.05 Jul 2025
- 6.0.014 Jun 2026
Last 5 releases
- 6.0.231 Aug 2026
- 6.0.113 Aug 2026
- 6.0.014 Jun 2026
- 5.4.65 Jan 2026
- 5.4.527 Nov 2025
87 releases in total, 8 in the last 12 months
@hey-api/openapi-ts
-
zod-openapi
-
@hey-api/openapi-ts
-
zod-openapi
-
- Need no runtime dependencieszod-openapi (@hey-api/openapi-ts has 10, zod-openapi has 0)
- Need both ESM and CommonJS entry pointszod-openapi (@hey-api/openapi-ts: ESM only; zod-openapi: ESM + CommonJS)
- Need to load it with require()zod-openapi
- Need TypeScript types in the package itselfBoth
- Node.js version requirement@hey-api/openapi-ts: >=22.18.0; zod-openapi: >=22.14.0 (engines field in package.json)
- Need the more recent releasezod-openapi (6.0.2 on 31 Aug 2026 vs 0.99.0 on 22 Jun 2026)
- Higher weekly npm downloads@hey-api/openapi-ts (3.4m vs 994k)
Each line is generated from the data above.
- @hey-api/openapi-ts vs openapi-typescript-codegenNo search data
- @hey-api/openapi-ts vs @asteasolutions/zod-to-openapiNo search data
- openapi-fetch vs @hey-api/openapi-tsNo search data
- @asteasolutions/zod-to-openapi vs zod-openapiNo search data
- zod-openapi vs openapi-client-axiosNo search data
- openapi-fetch vs zod-openapiNo search data
- zod-openapi vs openapi-typescript-codegenNo search data
- zod-openapi vs @kubb/oasNo search data
- zod-openapi vs oazapftsNo search data
- openapi-types vs zod-openapiNo search data
@hey-api/openapi-ts: @hey-api/openapi-ts npm registry, @hey-api/openapi-ts npm downloads, @hey-api/openapi-ts GitHub. Data fetched 25 Sept 2026.
zod-openapi: zod-openapi npm registry, zod-openapi npm downloads, zod-openapi GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.