Package
@hey-api/openapi-ts
🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 3.4m
- +473% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 10
- Direct, from package.json
- Last release
- 3 months ago
- v0.99.0
- GitHub stars
- 5.4k
- 434 forks
- Open issues / PRs
- 518 / 121
- Contributors
- -
- Commits, last 52 weeks
- 2,998
Downloads
Last week 2026-09-15 to 2026-09-21
3,373,199 downloads last week, 16,701,489 in the last month. The 12-month change of +473% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 67271 in total
- Latest version
- 0.99.0, 22 Jun 20263 months ago
- First published
- 22 Mar 2024
- Last push to GitHub
- 24 Aug 202631 days before the snapshot
- Repository archived
- No
- Open issues
- 518
- Open pull requests
- 121
- Commits, last 52 weeks
- 2,998
- Dependents on npm
- 92
Major versions
- v0 first release 0.27.37, 22 Mar 2024
Recent releases
| Version | Published |
|---|---|
| 0.99.0 | 22 Jun 2026 |
| 0.98.2 | 8 Jun 2026 |
| 0.98.1 | 1 Jun 2026 |
| 0.98.0 | 1 Jun 2026 |
| 0.97.3 | 25 May 2026 |
| 0.97.2 | 18 May 2026 |
| 0.97.1 | 4 May 2026 |
| 0.97.0 | 28 Apr 2026 |
| 0.96.1 | 20 Apr 2026 |
| 0.96.0 | 13 Apr 2026 |
| 0.95.0 | 2 Apr 2026 |
| 0.94.5 | 25 Mar 2026 |
| 0.94.4 | 20 Mar 2026 |
| 0.94.3 | 19 Mar 2026 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=22.18.0
- Runtimes
- -
- Unpacked size (npm)
- 2.8 MB
- Dependencies (10)
commander@lukeed/msansi-colorsget-tsconfigcolor-support@hey-api/types@hey-api/shared@hey-api/spec-types@hey-api/codegen-core@hey-api/json-schema-ref-parser- Peer dependencies (1)
typescript
npm install @hey-api/openapi-ts- jsDelivr
https://cdn.jsdelivr.net/npm/@hey-api/openapi-ts@0.99.0/ - unpkg
https://unpkg.com/@hey-api/openapi-ts@0.99.0/ - esm.sh
https://esm.sh/@hey-api/openapi-ts@0.99.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| openapi-typescript-codegen | 346k | - | 3 months ago | CommonJS | @hey-api/openapi-ts vs openapi-typescript-codegen |
| @kubb/plugin-client | 72.5k | - | 1 month ago | ESM + CommonJS | - |
| zod-openapi | 994k | - | 24 days ago | ESM + CommonJS | @hey-api/openapi-ts vs zod-openapi |
| chanfana | 68.6k | - | 1 month ago | ESM + CommonJS | - |
| fastify-zod-openapi | 54.1k | - | 2 months ago | ESM + CommonJS | - |
| @asteasolutions/zod-to-openapi | 3m | - | 2 months ago | ESM + CommonJS | @hey-api/openapi-ts vs @asteasolutions/zod-to-openapi |
| openapi-fetch | 6.6m | - | 7 months ago | ESM + CommonJS | openapi-fetch vs @hey-api/openapi-ts |
| openapi-react-query | 327.5k | - | 7 months ago | ESM + CommonJS | - |
Related
Indexability: Indexed.