Skip to content
JS
Package

openapi-types

Types for OpenAPI documents.

v12.1.3, 24 May 2023MITCommonJSTypes: BundledDocumentation toolingTypeScript tooling
$ npm install openapi-types

Key numbers

As of 25 Sept 2026
Weekly downloads
10m
+102% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v12.1.3
GitHub stars
921
239 forks
Open issues / PRs
118 / 27
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 14.1m (25 Aug 2026)Low 3.1m (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.

10,037,873 downloads last week, 45,661,704 in the last month. The 12-month change of +102% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
036 in total
Latest version
12.1.3, 24 May 20233 years ago
First published
29 Jun 2018
Last push to GitHub
17 Dec 2024646 days before the snapshot
Repository archived
No
Open issues
118
Open pull requests
27
Commits, last 52 weeks
0
Dependents on npm
1,383

Major versions

  1. v12 first release 12.0.0, 3 Jun 2022
  2. v11 first release 11.0.0, 13 Apr 2022
  3. v10 first release 10.0.0, 2 Dec 2021
  4. v9 first release 9.0.0, 14 May 2021
  5. v8 first release 8.0.0, 8 Apr 2021
  6. v7 first release 7.0.0, 20 Jul 2020
  7. v1 first release 1.0.1, 29 Jun 2018

Recent releases

VersionPublished
12.1.324 May 2023
12.1.224 May 2023
12.1.120 May 2023
12.1.09 Dec 2022
12.0.231 Aug 2022
12.0.03 Jun 2022
11.1.03 Jun 2022
11.0.116 May 2022
11.0.013 Apr 2022
10.0.02 Dec 2021
9.3.112 Nov 2021
9.3.030 Aug 2021
9.2.020 Aug 2021
9.1.06 Jul 2021
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
32 kB
Dependencies (0)
None
npm install openapi-types
  • jsDelivrhttps://cdn.jsdelivr.net/npm/openapi-types@12.1.3/
  • unpkghttps://unpkg.com/openapi-types@12.1.3/
  • esm.shhttps://esm.sh/openapi-types@12.1.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@scalar/openapi-parser2m-todayESM only-
@mintlify/openapi-parser213.8k-11 months agoESM only-
openapi-typescript5.3m-7 months agoESM + CommonJS-
zod-openapi994k-24 days agoESM + CommonJSopenapi-types vs zod-openapi
openapi-fetch6.6m-7 months agoESM + CommonJSopenapi-types vs openapi-fetch
openapi-typescript-codegen346k-3 months agoCommonJSopenapi-types vs openapi-typescript-codegen
openapi-react-query327.5k-7 months agoESM + CommonJS-
oazapfts194.8k--ESM + CommonJSopenapi-types vs oazapfts

Related

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

Indexability: Indexed.