Package
@hey-api/spec-types
📃 TypeScript definitions for OpenAPI and JSON Schema specifications with complete inline documentation.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 2.3m
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 5 months ago
- v0.2.0
- GitHub stars
- 5.4k
- 434 forks
- Open issues / PRs
- 518 / 121
- Contributors
- -
- Commits, last 52 weeks
- 2,998
Downloads
Last week 2026-09-15 to 2026-09-21
2,262,225 downloads last week, 10,035,615 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- 22 in total
- Latest version
- 0.2.0, 13 Apr 20265 months ago
- First published
- 25 Mar 2026
- Last push to GitHub
- 24 Aug 202631 days before the snapshot
- Repository archived
- No
- Open issues
- 518
- Open pull requests
- 121
- Commits, last 52 weeks
- 2,998
- Dependents on npm
- 4
Major versions
- v0 first release 0.1.0, 25 Mar 2026
Recent releases
| Version | Published |
|---|---|
| 0.2.0 | 13 Apr 2026 |
| 0.1.0 | 25 Mar 2026 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 308 kB
- Dependencies (1)
@hey-api/types
npm install @hey-api/spec-types- jsDelivr
https://cdn.jsdelivr.net/npm/@hey-api/spec-types@0.2.0/ - unpkg
https://unpkg.com/@hey-api/spec-types@0.2.0/ - esm.sh
https://esm.sh/@hey-api/spec-types@0.2.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| zod-openapi | 994k | - | 24 days ago | ESM + CommonJS | - |
| chanfana | 68.6k | - | 1 month ago | ESM + CommonJS | - |
| fastify-zod-openapi | 54.1k | - | 2 months ago | ESM + CommonJS | - |
| @asteasolutions/zod-to-openapi | 3m | - | 2 months ago | ESM + CommonJS | - |
| @openapi-spec/types | 52k | - | 17 days ago | ESM only | - |
| openapi-typescript-codegen | 346k | - | 3 months ago | CommonJS | - |
| @kubb/oas | 166.5k | - | 1 month ago | ESM + CommonJS | - |
| @scalar/openapi-parser | 2m | - | today | ESM only | - |
Indexability: Indexed.