Skip to content
JS
Package

@asteasolutions/zod-to-openapi

Builds OpenAPI schemas from Zod schemas

v9.1.0, 19 Jul 2026MITESM + CommonJSTypes: BundledDocumentation toolingSchema validation
$ npm install @asteasolutions/zod-to-openapi

Key numbers

As of 25 Sept 2026
Weekly downloads
3m
+256% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
2 months ago
v9.1.0
GitHub stars
1.6k
104 forks
Open issues / PRs
28 / 12
Contributors
-
Commits, last 52 weeks
64

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 4m (8 Sept 2026)Low 559.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.

3,025,867 downloads last week, 14,822,270 in the last month. The 12-month change of +256% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
1274 in total
Latest version
9.1.0, 19 Jul 20262 months ago
First published
16 Apr 2022
Last push to GitHub
13 Sept 202611 days before the snapshot
Repository archived
No
Open issues
28
Open pull requests
12
Commits, last 52 weeks
64
Dependents on npm
299

Major versions

  1. v9 first release 9.0.0, 14 Jul 2026
  2. v8 first release 8.0.0, 15 Jul 2025
  3. v7 first release 7.0.0, 5 Apr 2024
  4. v6 first release 6.0.0, 2 Oct 2023
  5. v5 first release 5.0.0, 23 May 2023
  6. v4 first release 4.0.0, 20 Dec 2022
  7. v3 first release 3.0.0, 7 Nov 2022
  8. v2 first release 2.0.0, 3 Oct 2022
  9. v1 first release 1.0.0, 26 Apr 2022
  10. v0 first release 0.3.6, 16 Apr 2022

Recent releases

VersionPublished
9.1.019 Jul 2026
9.0.014 Jul 2026
8.5.020 Mar 2026
8.4.32 Mar 2026
8.4.22 Mar 2026
8.4.114 Feb 2026
8.4.04 Jan 2026
8.3.33 Jan 2026
8.3.23 Jan 2026
8.3.13 Jan 2026
8.3.03 Jan 2026
8.2.05 Dec 2025
8.1.01 Aug 2025
8.0.015 Jul 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
224 kB
Dependencies (1)
openapi3-ts
Peer dependencies (1)
zod
npm install @asteasolutions/zod-to-openapi
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@asteasolutions/zod-to-openapi@9.1.0/
  • unpkghttps://unpkg.com/@asteasolutions/zod-to-openapi@9.1.0/
  • esm.shhttps://esm.sh/@asteasolutions/zod-to-openapi@9.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
zod-openapi994k-24 days agoESM + CommonJS@asteasolutions/zod-to-openapi vs zod-openapi
fastify-zod-openapi54.1k-2 months agoESM + CommonJS-
@hey-api/spec-types2.3m-5 months agoESM only-
@hey-api/openapi-ts3.4m-3 months agoESM only@hey-api/openapi-ts vs @asteasolutions/zod-to-openapi
oas-schema-walker3m-6 years agoCommonJS-
@apidevtools/openapi-schemas3.8m-5 years agoCommonJS-
openapi-schemas36.4k-5 years agoCommonJS-
oazapfts194.8k--ESM + CommonJS@asteasolutions/zod-to-openapi vs oazapfts

Related

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

Indexability: Indexed.