Skip to content
JS
Package

@apidevtools/swagger-parser

Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers

v13.1.0, 20 Sept 2026MITCommonJSTypes: BundledSchema validationDocumentation tooling
$ npm install @apidevtools/swagger-parser

Key numbers

As of 25 Sept 2026
Weekly downloads
4.1m
+55% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
7
Direct, from package.json
Last release
4 days ago
v13.1.0
GitHub stars
1.2k
171 forks
Open issues / PRs
60 / 3
Contributors
-
Commits, last 52 weeks
4

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 5.9m (18 Aug 2026)Low 1.6m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

4,079,854 downloads last week, 19,531,441 in the last month. The 12-month change of +55% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
315 in total
Latest version
13.1.0, 20 Sept 20264 days ago
First published
14 Mar 2020
Last push to GitHub
20 Sept 20264 days before the snapshot
Repository archived
No
Open issues
60
Open pull requests
3
Commits, last 52 weeks
4
Dependents on npm
891

Major versions

  1. v13 first release 13.0.0, 2 Sept 2026
  2. v12 first release 12.0.0, 16 Jun 2025
  3. v11 first release 11.0.0, 3 Jun 2025
  4. v10 first release 10.0.0, 10 Jul 2020
  5. v9 first release 9.0.0, 14 Mar 2020
  6. v8 first release 8.0.4, 14 Mar 2020

Recent releases

VersionPublished
13.1.020 Sept 2026
13.0.02 Sept 2026
12.1.014 Oct 2025
12.0.016 Jun 2025
11.0.16 Jun 2025
11.0.03 Jun 2025
10.1.17 Jan 2025
10.1.013 May 2022
10.0.315 Aug 2021
10.0.27 Sept 2020
10.0.119 Jul 2020
10.0.010 Jul 2020
9.0.115 Mar 2020
9.0.014 Mar 2020
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.19.0
Runtimes
-
Unpacked size (npm)
55 kB
Dependencies (7)
ajvajv-draft-04call-me-maybe@types/json-schema@apidevtools/openapi-schemas@apidevtools/swagger-methods@apidevtools/json-schema-ref-parser
Peer dependencies (1)
openapi-types
npm install @apidevtools/swagger-parser
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@apidevtools/swagger-parser@13.1.0/
  • unpkghttps://unpkg.com/@apidevtools/swagger-parser@13.1.0/
  • esm.shhttps://esm.sh/@apidevtools/swagger-parser@13.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
mock-json-schema76.1k-9 days agoCommonJS-
@zodios/core270.5k-3 years agoESM + CommonJS@apidevtools/swagger-parser vs @zodios/core
allof-merge94k-7 months agoESM + CommonJS-
jsonschema4.2m-1 year agoCommonJS-
@exodus/schemasafe3.3m-3 years agoCommonJS-
express-validator1.1m-5 months agoCommonJS-
validator18.4m-5 months agoCommonJS-
validatorjs47.3k-5 years agoCommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.