Skip to content
JS
Comparison

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

Documentation toolingPackage data 25 Sept 2026

Builds OpenAPI schemas from Zod schemas

$ npm install @asteasolutions/zod-to-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@asteasolutions/zod-to-openapi@kubb/oasDifference
Weekly downloads3,025,867166,505@asteasolutions/zod-to-openapi 18.2x higher
12-month download growth+256%--
Gzip size---
Minified size---
Dependencies111@kubb/oas 10 more
Unpacked size224 kB276 kB@asteasolutions/zod-to-openapi 23% smaller
Latest release9.1.0, 19 Jul 20264.39.3, 4 Aug 2026@kubb/oas 16 days more recent
Releases, last 12 months12--
First published16 Apr 2022--
GitHub stars1,6231,804@kubb/oas +11%
Open issues285@asteasolutions/zod-to-openapi 23 more
Open pull requests121@asteasolutions/zod-to-openapi 11 more
Contributors---
Commits, last 52 weeks644,820@kubb/oas 75.3x 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 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

@kubb/oas

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
@asteasolutions/zod-to-openapi

-

@kubb/oas

-

@asteasolutions/zod-to-openapi

-

@kubb/oas

-

  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirement@asteasolutions/zod-to-openapi: none declared; @kubb/oas: >=20 (engines field in package.json)
  • Need the more recent release@kubb/oas (4.39.3 on 4 Aug 2026 vs 9.1.0 on 19 Jul 2026)
  • Higher weekly npm downloads@asteasolutions/zod-to-openapi (3m vs 166.5k)

Each line is generated from the data above.

@kubb/oas: @kubb/oas npm registry, @kubb/oas GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.