Skip to content
JS
Comparison

openapi-types vs @scalar/openapi-types

Documentation toolingPackage data 25 Sept 2026
openapi-typesv12.1.3, 24 May 2023

Types for OpenAPI documents.

$ npm install openapi-types
@scalar/openapi-typesv0.9.7, 22 Sept 2026

Modern OpenAPI types

$ npm install @scalar/openapi-types
Metricopenapi-types@scalar/openapi-typesDifference
Weekly downloads10,037,8734,447,136openapi-types 2.3x higher
12-month download growth+102%+999%@scalar/openapi-types +897 pts
Gzip size---
Minified size---
Dependencies00Same
Unpacked size32 kB419 kBopenapi-types 13.1x smaller
Latest release12.1.3, 24 May 20230.9.7, 22 Sept 2026@scalar/openapi-types 3.3 years more recent
Releases, last 12 months019@scalar/openapi-types 19 more
First published29 Jun 201814 Aug 2024openapi-types 6.1 years earlier
GitHub stars92116,189@scalar/openapi-types 17.6x higher
Open issues11818openapi-types 100 more
Open pull requests2739@scalar/openapi-types 12 more
Contributors---
Commits, last 52 weeks02,360@scalar/openapi-types higher
TypeScript typesBundledBundledSame
Module formatCommonJSESM onlyDiffers
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-types9.9m latest week@scalar/openapi-types4.4m 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-types

Major versions
  1. 1.0.129 Jun 2018
  2. 7.0.020 Jul 2020
  3. 8.0.08 Apr 2021
  4. 9.0.014 May 2021
  5. 10.0.02 Dec 2021
  6. 11.0.013 Apr 2022
  7. 12.0.03 Jun 2022
Last 5 releases
  1. 12.1.324 May 2023
  2. 12.1.224 May 2023
  3. 12.1.120 May 2023
  4. 12.1.09 Dec 2022
  5. 12.0.231 Aug 2022
36 releases in total, 0 in the last 12 months

@scalar/openapi-types

Major versions
  1. 0.0.114 Aug 2024
Last 5 releases
  1. 0.9.722 Sept 2026
  2. 0.9.616 Sept 2026
  3. 0.9.520 Aug 2026
  4. 0.9.431 Jul 2026
  5. 0.9.316 Jul 2026
41 releases in total, 19 in the last 12 months
openapi-types

-

@scalar/openapi-types

-

openapi-types

-

@scalar/openapi-types

-

  • Need no runtime dependenciesBoth
  • Need both ESM and CommonJS entry pointsNeither (openapi-types: CommonJS; @scalar/openapi-types: ESM only)
  • Need to load it with require()openapi-types
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementopenapi-types: none declared; @scalar/openapi-types: >=22 (engines field in package.json)
  • Need the more recent release@scalar/openapi-types (0.9.7 on 22 Sept 2026 vs 12.1.3 on 24 May 2023)
  • Higher weekly npm downloadsopenapi-types (10m vs 4.4m)

Each line is generated from the data above.