Skip to content
JS
Package

swagger-parser

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

v10.0.3, 15 Aug 2021MITCommonJSTypes: BundledSchema validationDocumentation tooling
$ npm install swagger-parser

Key numbers

As of 25 Sept 2026
Weekly downloads
985.9k
-3% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
5 years ago
v10.0.3
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
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.9m (16 Jun 2026)Low 738k (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.

985,852 downloads last week, 5,250,826 in the last month. The 12-month change of -3% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
071 in total
Latest version
10.0.3, 15 Aug 20215 years ago
First published
20 Oct 2014
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
615

Major versions

  1. v10 first release 10.0.0, 10 Jul 2020
  2. v9 first release 9.0.0, 14 Mar 2020
  3. v8 first release 8.0.0, 22 Jun 2019
  4. v7 first release 7.0.0, 12 Jun 2019
  5. v6 first release 6.0.0, 5 Oct 2018
  6. v5 first release 5.0.0, 25 May 2018
  7. v4 first release 4.0.0, 19 Oct 2017
  8. v3 first release 3.0.0, 25 Sept 2015
  9. v2 first release 2.0.0, 2 Jan 2015
  10. v1 first release 1.0.0, 20 Oct 2014

Recent releases

VersionPublished
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
8.0.431 Dec 2019
8.0.324 Oct 2019
8.0.211 Oct 2019
8.0.124 Aug 2019
8.0.022 Jun 2019
7.0.121 Jun 2019
7.0.012 Jun 2019
6.0.525 Jan 2019
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
21 kB
Dependencies (1)
@apidevtools/swagger-parser
npm install swagger-parser
  • jsDelivrhttps://cdn.jsdelivr.net/npm/swagger-parser@10.0.3/
  • unpkghttps://unpkg.com/swagger-parser@10.0.3/
  • esm.shhttps://esm.sh/swagger-parser@10.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@speclynx/apidom-ns-json-schema-2020-1223.6k-5 days agoESM + CommonJS-
@speclynx/apidom-ns-json-schema-draft-423.8k-5 days agoESM + CommonJS-
mock-json-schema76.1k-9 days agoCommonJS-
@zodios/core270.5k-3 years agoESM + CommonJS-
allof-merge94k-7 months agoESM + CommonJS-
jsonschema4.2m-1 year agoCommonJS-
express-zod-api12.8k-2 days agoESM only-
ajv-oai12.9k-6 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.