Skip to content
JS
Comparison

@asteasolutions/zod-to-openapi vs zod-openapi

Documentation toolingPackage data 25 Sept 2026

Builds OpenAPI schemas from Zod schemas

$ npm install @asteasolutions/zod-to-openapi
zod-openapiv6.0.2, 31 Aug 2026

Convert Zod Schemas to OpenAPI v3.x documentation

$ npm install zod-openapi
Metric@asteasolutions/zod-to-openapizod-openapiDifference
Weekly downloads3,025,867993,987@asteasolutions/zod-to-openapi 3.0x higher
12-month download growth+256%+287%zod-openapi +31 pts
Gzip size---
Minified size---
Dependencies10@asteasolutions/zod-to-openapi 1 more
Unpacked size224 kB191 kBzod-openapi 17% smaller
Latest release9.1.0, 19 Jul 20266.0.2, 31 Aug 2026zod-openapi 43 days more recent
Releases, last 12 months128@asteasolutions/zod-to-openapi 4 more
First published16 Apr 202220 Mar 2023@asteasolutions/zod-to-openapi 11 months earlier
GitHub stars1,623646@asteasolutions/zod-to-openapi 2.5x higher
Open issues287@asteasolutions/zod-to-openapi 21 more
Open pull requests125@asteasolutions/zod-to-openapi 7 more
Contributors---
Commits, last 52 weeks6440@asteasolutions/zod-to-openapi 1.6x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

@asteasolutions/zod-to-openapi3m latest weekzod-openapi994k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

@asteasolutions/zod-to-openapi

Major versions
  1. 0.3.616 Apr 2022
  2. 1.0.026 Apr 2022
  3. 2.0.03 Oct 2022
  4. 3.0.07 Nov 2022
  5. 4.0.020 Dec 2022
  6. 5.0.023 May 2023
  7. 6.0.02 Oct 2023
  8. 7.0.05 Apr 2024
  9. 8.0.015 Jul 2025
  10. 9.0.014 Jul 2026
Last 5 releases
  1. 9.1.019 Jul 2026
  2. 9.0.014 Jul 2026
  3. 8.5.020 Mar 2026
  4. 8.4.32 Mar 2026
  5. 8.4.22 Mar 2026
74 releases in total, 12 in the last 12 months

zod-openapi

Major versions
  1. 0.1.014 Apr 2023
  2. 1.0.025 Apr 2023
  3. 2.0.030 Apr 2023
  4. 3.0.020 Sept 2024
  5. 4.0.010 Nov 2024
  6. 5.0.05 Jul 2025
  7. 6.0.014 Jun 2026
Last 5 releases
  1. 6.0.231 Aug 2026
  2. 6.0.113 Aug 2026
  3. 6.0.014 Jun 2026
  4. 5.4.65 Jan 2026
  5. 5.4.527 Nov 2025
87 releases in total, 8 in the last 12 months
@asteasolutions/zod-to-openapi

-

zod-openapi

-

@asteasolutions/zod-to-openapi

-

zod-openapi

-

  • Need no runtime dependencieszod-openapi (@asteasolutions/zod-to-openapi has 1, zod-openapi has 0)
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirement@asteasolutions/zod-to-openapi: none declared; zod-openapi: >=22.14.0 (engines field in package.json)
  • Need the more recent releasezod-openapi (6.0.2 on 31 Aug 2026 vs 9.1.0 on 19 Jul 2026)
  • Higher weekly npm downloads@asteasolutions/zod-to-openapi (3m vs 994k)

Each line is generated from the data above.

zod-openapi: zod-openapi npm registry, zod-openapi npm downloads, zod-openapi GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.