Skip to content
JS
Comparison

zod-openapi vs @kubb/oas

Documentation toolingPackage data 25 Sept 2026
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
Metriczod-openapi@kubb/oasDifference
Weekly downloads993,987166,505zod-openapi 6.0x higher
12-month download growth+287%--
Gzip size---
Minified size---
Dependencies011@kubb/oas 11 more
Unpacked size191 kB276 kBzod-openapi 45% smaller
Latest release6.0.2, 31 Aug 20264.39.3, 4 Aug 2026zod-openapi 27 days more recent
Releases, last 12 months8--
First published20 Mar 2023--
GitHub stars6461,804@kubb/oas 2.8x higher
Open issues75zod-openapi 2 more
Open pull requests51zod-openapi 4 more
Contributors---
Commits, last 52 weeks404,820@kubb/oas 120.5x 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.

zod-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.

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

@kubb/oas

Major versions
  1. -
Last 5 releases
  1. -
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.

zod-openapi: zod-openapi npm registry, zod-openapi npm downloads, zod-openapi GitHub. Data fetched 25 Sept 2026.
@kubb/oas: @kubb/oas npm registry, @kubb/oas GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.