Skip to content
JS
Package

tspec

Generate OpenAPI 3.0 spec from TypeScript code.

v0.2.11, 15 Jan 2026MITESM + CommonJSTypes: BundledDocumentation toolingTypeScript tooling
$ npm install tspec

Key numbers

As of 25 Sept 2026
Weekly downloads
2.5k
+7% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
10
Direct, from package.json
Last release
8 months ago
v0.2.11
GitHub stars
162
9 forks
Open issues / PRs
6 / 2
Contributors
-
Commits, last 52 weeks
56

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6kSept 2025Mar 2026Sept 2026High 4.6k (5 May 2026)Low 817 (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,520 downloads last week, 11,063 in the last month. The 12-month change of +7% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.2.11, 15 Jan 20268 months ago
First published
-
Last push to GitHub
15 Jan 2026252 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
2
Commits, last 52 weeks
56
Dependents on npm
4

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=12.0.0
Runtimes
-
Unpacked size (npm)
200 kB
Dependencies (10)
globdebugyargsexpresstypescriptopenapi-typesswagger-ui-expresshttp-proxy-middlewaretypescript-json-schemajson-schema-to-openapi-schema
Peer dependencies (1)
express
npm install tspec
  • jsDelivrhttps://cdn.jsdelivr.net/npm/tspec@0.2.11/
  • unpkghttps://unpkg.com/tspec@0.2.11/
  • esm.shhttps://esm.sh/tspec@0.2.11
PackageWeekly downloadsGzipLast releaseModuleComparison
@tsoa/runtime281k-9 months agoCommonJS-
@tsoa/cli263.8k-9 months agoCommonJS-
tsoa257.8k-9 months agoCommonJS-
redoc-express67.5k-10 months agoCommonJS-
openapi-typescript5.3m-7 months agoESM + CommonJS-
openapi-client-axios184.2k-7 months agoCommonJS-
zod-openapi994k-24 days agoESM + CommonJS-
openapi-fetch6.6m-7 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2520 < 10000.