zod-openapiv6.0.2, 31 Aug 2026
Convert Zod Schemas to OpenAPI v3.x documentation
$ npm install zod-openapi@kubb/oasv4.39.3, 4 Aug 2026
OpenAPI Specification (OAS) utilities and helpers for Kubb, providing parsing, normalization, and manipulation of OpenAPI/Swagger schemas.
$ npm install @kubb/oas| Metric | zod-openapi | @kubb/oas | Difference |
|---|---|---|---|
| Weekly downloads | 993,987 | 166,505 | zod-openapi 6.0x higher |
| 12-month download growth | +287% | - | - |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 11 | @kubb/oas 11 more |
| Unpacked size | 191 kB | 276 kB | zod-openapi 45% smaller |
| Latest release | 6.0.2, 31 Aug 2026 | 4.39.3, 4 Aug 2026 | zod-openapi 27 days more recent |
| Releases, last 12 months | 8 | - | - |
| First published | 20 Mar 2023 | - | - |
| GitHub stars | 646 | 1,804 | @kubb/oas 2.8x higher |
| Open issues | 7 | 5 | zod-openapi 2 more |
| Open pull requests | 5 | 1 | zod-openapi 4 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 40 | 4,820 | @kubb/oas 120.5x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM + CommonJS | ESM + CommonJS | Same |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
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.
zod-openapi994k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
zod-openapi
Major versions
- 0.1.014 Apr 2023
- 1.0.025 Apr 2023
- 2.0.030 Apr 2023
- 3.0.020 Sept 2024
- 4.0.010 Nov 2024
- 5.0.05 Jul 2025
- 6.0.014 Jun 2026
Last 5 releases
- 6.0.231 Aug 2026
- 6.0.113 Aug 2026
- 6.0.014 Jun 2026
- 5.4.65 Jan 2026
- 5.4.527 Nov 2025
87 releases in total, 8 in the last 12 months
@kubb/oas
Major versions
- -
Last 5 releases
- -
Release count not fetched
zod-openapi
-
@kubb/oas
-
zod-openapi
-
@kubb/oas
-
- Need no runtime dependencieszod-openapi (zod-openapi has 0, @kubb/oas has 11)
- Module formatBoth ESM + CommonJS
- Need TypeScript types in the package itselfBoth
- Node.js version requirementzod-openapi: >=22.14.0; @kubb/oas: >=20 (engines field in package.json)
- Need the more recent releasezod-openapi (6.0.2 on 31 Aug 2026 vs 4.39.3 on 4 Aug 2026)
- Higher weekly npm downloadszod-openapi (994k vs 166.5k)
Each line is generated from the data above.
- @asteasolutions/zod-to-openapi vs zod-openapiNo search data
- @hey-api/openapi-ts vs zod-openapiNo search data
- zod-openapi vs openapi-client-axiosNo search data
- openapi-fetch vs zod-openapiNo search data
- zod-openapi vs openapi-typescript-codegenNo search data
- zod-openapi vs oazapftsNo search data
- openapi-types vs zod-openapiNo search data
- @asteasolutions/zod-to-openapi vs @kubb/oasNo search data
- openapi-client-axios vs @kubb/oasNo search data
- openapi-fetch vs @kubb/oasNo search data
- openapi-typescript-codegen vs @kubb/oasNo search data
zod-openapi: zod-openapi npm registry, zod-openapi npm downloads, zod-openapi GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.