Skip to content
JS
Package

openapi-typescript-codegen

Library that generates Typescript clients based on the OpenAPI specification.

v0.31.0, 20 Jun 2026MITCommonJSTypes: BundledDocumentation toolingAngular
$ npm install openapi-typescript-codegen

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
0200k400k600k800kSept 2025Mar 2026Sept 2026High 635.8k (16 Jun 2026)Low 170.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v0 first release 0.0.1, 24 Nov 2019

Recent releases

VersionPublished
0.31.020 Jun 2026
0.30.022 Dec 2025
0.29.07 Apr 2024
0.28.019 Mar 2024
0.27.015 Jan 2024
0.26.07 Jan 2024
0.25.05 Jul 2023
0.24.010 Apr 2023
0.23.02 Jun 2022
0.22.026 Apr 2022
0.21.06 Apr 2022
0.20.125 Feb 2022
0.20.025 Feb 2022
0.19.07 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/openapi-typescript-codegen@0.31.0/
  • unpkghttps://unpkg.com/openapi-typescript-codegen@0.31.0/
  • esm.shhttps://esm.sh/openapi-typescript-codegen@0.31.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@hey-api/openapi-ts3.4m-3 months agoESM only@hey-api/openapi-ts vs openapi-typescript-codegen
@kubb/plugin-client72.5k-1 month agoESM + CommonJS-
@scalar/asyncapi-validator5.8k-todayESM only-
openapi-client-axios184.2k-7 months agoCommonJSopenapi-typescript-codegen vs openapi-client-axios
openapi-fetch6.6m-7 months agoESM + CommonJSopenapi-fetch vs openapi-typescript-codegen
openapi-react-query327.5k-7 months agoESM + CommonJS-
openapi-typescript5.3m-7 months agoESM + CommonJS-
zod-openapi994k-24 days agoESM + CommonJSzod-openapi vs openapi-typescript-codegen

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.