Package
swagger2
Typescript-based tools for working with Swagger v2.0 documents
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 8k
- +21% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 3
- Direct, from package.json
- Last release
- 1 year ago
- v5.0.1
- GitHub stars
- 25
- 16 forks
- Open issues / PRs
- 8 / 4
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
7,973 downloads last week, 35,453 in the last month. The 12-month change of +21% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 5.0.1, 10 Jun 20251 year ago
- First published
- -
- Last push to GitHub
- 21 Jan 2026246 days before the snapshot
- Repository archived
- No
- Open issues
- 8
- Open pull requests
- 4
- Commits, last 52 weeks
- 0
- Dependents on npm
- 25
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=22
- Runtimes
- -
- Unpacked size (npm)
- 141 kB
- Dependencies (3)
js-yamlis-my-json-validjson-schema-deref-sync
npm install swagger2- jsDelivr
https://cdn.jsdelivr.net/npm/swagger2@5.0.1/ - unpkg
https://unpkg.com/swagger2@5.0.1/ - esm.sh
https://esm.sh/swagger2@5.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @scalar/openapi-parser | 2m | - | today | ESM only | - |
| @mintlify/openapi-parser | 213.8k | - | 11 months ago | ESM only | - |
| openapi-client-axios | 184.2k | - | 7 months ago | CommonJS | - |
| openapi-typescript | 5.3m | - | 7 months ago | ESM + CommonJS | - |
| zod-openapi | 994k | - | 24 days ago | ESM + CommonJS | - |
| openapi-fetch | 6.6m | - | 7 months ago | ESM + CommonJS | - |
| openapi-typescript-codegen | 346k | - | 3 months ago | CommonJS | - |
| openapi-react-query | 327.5k | - | 7 months ago | ESM + CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 7973 < 10000.