Package
@apidevtools/swagger-parser
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
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
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
- v13 first release 13.0.0, 2 Sept 2026
- v12 first release 12.0.0, 16 Jun 2025
- v11 first release 11.0.0, 3 Jun 2025
- v10 first release 10.0.0, 10 Jul 2020
- v9 first release 9.0.0, 14 Mar 2020
- v8 first release 8.0.4, 14 Mar 2020
Recent releases
| Version | Published |
|---|---|
| 13.1.0 | 20 Sept 2026 |
| 13.0.0 | 2 Sept 2026 |
| 12.1.0 | 14 Oct 2025 |
| 12.0.0 | 16 Jun 2025 |
| 11.0.1 | 6 Jun 2025 |
| 11.0.0 | 3 Jun 2025 |
| 10.1.1 | 7 Jan 2025 |
| 10.1.0 | 13 May 2022 |
| 10.0.3 | 15 Aug 2021 |
| 10.0.2 | 7 Sept 2020 |
| 10.0.1 | 19 Jul 2020 |
| 10.0.0 | 10 Jul 2020 |
| 9.0.1 | 15 Mar 2020 |
| 9.0.0 | 14 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- jsDelivr
https://cdn.jsdelivr.net/npm/@apidevtools/swagger-parser@13.1.0/ - unpkg
https://unpkg.com/@apidevtools/swagger-parser@13.1.0/ - esm.sh
https://esm.sh/@apidevtools/swagger-parser@13.1.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| mock-json-schema | 76.1k | - | 9 days ago | CommonJS | - |
| @zodios/core | 270.5k | - | 3 years ago | ESM + CommonJS | @apidevtools/swagger-parser vs @zodios/core |
| allof-merge | 94k | - | 7 months ago | ESM + CommonJS | - |
| jsonschema | 4.2m | - | 1 year ago | CommonJS | - |
| @exodus/schemasafe | 3.3m | - | 3 years ago | CommonJS | - |
| express-validator | 1.1m | - | 5 months ago | CommonJS | - |
| validator | 18.4m | - | 5 months ago | CommonJS | - |
| validatorjs | 47.3k | - | 5 years ago | CommonJS | - |
Indexability: Indexed.