Skip to content
JS
Comparison

openapi-fetch vs @kubb/oas

Documentation toolingPackage data 25 Sept 2026
openapi-fetchv0.17.0, 11 Feb 2026

Fast, type-safe fetch client for your OpenAPI schema. Only 6 kb (min). Works with React, Vue, Svelte, or vanilla JS.

$ npm install openapi-fetch
@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
Metricopenapi-fetch@kubb/oasDifference
Weekly downloads6,577,083166,505openapi-fetch 39.5x higher
12-month download growth+383%--
Gzip size---
Minified size---
Dependencies111@kubb/oas 10 more
Unpacked size223 kB276 kBopenapi-fetch 24% smaller
Latest release0.17.0, 11 Feb 20264.39.3, 4 Aug 2026@kubb/oas 6 months more recent
Releases, last 12 months5--
First published14 Mar 2023--
GitHub stars8,3821,804openapi-fetch 4.6x higher
Open issues2105openapi-fetch 205 more
Open pull requests801openapi-fetch 79 more
Contributors---
Commits, last 52 weeks2124,820@kubb/oas 22.7x 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.

openapi-fetch6.5m 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.

openapi-fetch

Major versions
  1. 0.0.014 Mar 2023
Last 5 releases
  1. 0.17.011 Feb 2026
  2. 0.16.08 Feb 2026
  3. 0.15.28 Feb 2026
  4. 0.15.014 Oct 2025
  5. 0.14.12 Oct 2025
77 releases in total, 5 in the last 12 months

@kubb/oas

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
openapi-fetch

-

@kubb/oas

-

openapi-fetch

-

@kubb/oas

-

  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementopenapi-fetch: 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 0.17.0 on 11 Feb 2026)
  • Higher weekly npm downloadsopenapi-fetch (6.6m 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.