Package
openapi-typescript-codegen
Library that generates Typescript clients based on the OpenAPI specification.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 346k
- +54% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 5
- Direct, from package.json
- Last release
- 3 months ago
- v0.31.0
- GitHub stars
- 3.4k
- 546 forks
- Open issues / PRs
- 169 / 44
- Contributors
- -
- Commits, last 52 weeks
- 423
Downloads
Last week 2026-09-15 to 2026-09-21
346,049 downloads last week, 2,006,237 in the last month. The 12-month change of +54% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 299 in total
- Latest version
- 0.31.0, 20 Jun 20263 months ago
- First published
- 24 Nov 2019
- Last push to GitHub
- 12 Sept 202612 days before the snapshot
- Repository archived
- No
- Open issues
- 169
- Open pull requests
- 44
- Commits, last 52 weeks
- 423
- Dependents on npm
- 61
Major versions
- v0 first release 0.0.1, 24 Nov 2019
Recent releases
| Version | Published |
|---|---|
| 0.31.0 | 20 Jun 2026 |
| 0.30.0 | 22 Dec 2025 |
| 0.29.0 | 7 Apr 2024 |
| 0.28.0 | 19 Mar 2024 |
| 0.27.0 | 15 Jan 2024 |
| 0.26.0 | 7 Jan 2024 |
| 0.25.0 | 5 Jul 2023 |
| 0.24.0 | 10 Apr 2023 |
| 0.23.0 | 2 Jun 2022 |
| 0.22.0 | 26 Apr 2022 |
| 0.21.0 | 6 Apr 2022 |
| 0.20.1 | 25 Feb 2022 |
| 0.20.0 | 25 Feb 2022 |
| 0.19.0 | 7 Feb 2022 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 225 kB
- Dependencies (5)
fs-extracamelcasecommanderhandlebars@apidevtools/json-schema-ref-parser
npm install openapi-typescript-codegen- jsDelivr
https://cdn.jsdelivr.net/npm/openapi-typescript-codegen@0.31.0/ - unpkg
https://unpkg.com/openapi-typescript-codegen@0.31.0/ - esm.sh
https://esm.sh/openapi-typescript-codegen@0.31.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @hey-api/openapi-ts | 3.4m | - | 3 months ago | ESM only | @hey-api/openapi-ts vs openapi-typescript-codegen |
| @kubb/plugin-client | 72.5k | - | 1 month ago | ESM + CommonJS | - |
| @scalar/asyncapi-validator | 5.8k | - | today | ESM only | - |
| openapi-client-axios | 184.2k | - | 7 months ago | CommonJS | openapi-typescript-codegen vs openapi-client-axios |
| openapi-fetch | 6.6m | - | 7 months ago | ESM + CommonJS | openapi-fetch vs openapi-typescript-codegen |
| openapi-react-query | 327.5k | - | 7 months ago | ESM + CommonJS | - |
| openapi-typescript | 5.3m | - | 7 months ago | ESM + CommonJS | - |
| zod-openapi | 994k | - | 24 days ago | ESM + CommonJS | zod-openapi vs openapi-typescript-codegen |
- @hey-api/openapi-ts vs openapi-typescript-codegen
- openapi-typescript-codegen vs openapi-client-axios
- openapi-fetch vs openapi-typescript-codegen
- zod-openapi vs openapi-typescript-codegen
- openapi-typescript-codegen vs @kubb/oas
- typedoc vs openapi-typescript-codegen
- openapi-types vs openapi-typescript-codegen
Related
Indexability: Indexed.