Skip to content
JS
Package

@hey-api/spec-types

📃 TypeScript definitions for OpenAPI and JSON Schema specifications with complete inline documentation.

v0.2.0, 13 Apr 2026MITESM onlyTypes: BundledDocumentation toolingSchema validation
$ npm install @hey-api/spec-types

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
01m2m3mSept 2025Mar 2026Sept 2026High 2.8m (8 Sept 2026)Low 0 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v0 first release 0.1.0, 25 Mar 2026

Recent releases

VersionPublished
0.2.013 Apr 2026
0.1.025 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@hey-api/spec-types@0.2.0/
  • unpkghttps://unpkg.com/@hey-api/spec-types@0.2.0/
  • esm.shhttps://esm.sh/@hey-api/spec-types@0.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
zod-openapi994k-24 days agoESM + CommonJS-
chanfana68.6k-1 month agoESM + CommonJS-
fastify-zod-openapi54.1k-2 months agoESM + CommonJS-
@asteasolutions/zod-to-openapi3m-2 months agoESM + CommonJS-
@openapi-spec/types52k-17 days agoESM only-
openapi-typescript-codegen346k-3 months agoCommonJS-
@kubb/oas166.5k-1 month agoESM + CommonJS-
@scalar/openapi-parser2m-todayESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.