Gathering detailed insights and metrics for swagger-typescript-api
Gathering detailed insights and metrics for swagger-typescript-api
Gathering detailed insights and metrics for swagger-typescript-api
Gathering detailed insights and metrics for swagger-typescript-api
pont-engine
pont swagger typescript API
@hey-api/client-fetch
🚀 Fetch API client for `@hey-api/openapi-ts` codegen.
vite-plugin-swagger-typescript-api
基于 swagger-typescript-api 的 vite 插件,自动化生成 API 接口
@hey-api/openapi-ts
🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.
Generate the API Client for Fetch or Axios from an OpenAPI Specification
npm install swagger-typescript-api
Typescript
Module System
Min. Node Version
69.5
Supply Chain
82.1
Quality
94.9
Maintenance
100
Vulnerability
97.9
License
TypeScript (83.15%)
EJS (12.55%)
JavaScript (4.25%)
Shell (0.05%)
Total Downloads
26,642,955
Last Day
10,528
Last Week
316,841
Last Month
1,346,869
Last Year
13,075,222
MIT License
3,793 Stars
1,250 Commits
404 Forks
9 Watchers
7 Branches
82 Contributors
Updated on Jul 02, 2025
Minified
Minified + Gzipped
Latest Version
13.2.7
Package Id
swagger-typescript-api@13.2.7
Unpacked Size
0.96 MB
Size
207.71 kB
File Count
41
Published on
Jun 25, 2025
Cumulative downloads
Total Downloads
Last Day
-14.2%
10,528
Compared to previous day
Last Week
-12.4%
316,841
Compared to previous week
Last Month
12.9%
1,346,869
Compared to previous month
Last Year
72.4%
13,075,222
Compared to previous year
13
Any questions you can ask here
All examples you can find here
You can use this package in two ways:
1npx swagger-typescript-api generate --path ./swagger.json
Or install locally in your project:
1npm install --save-dev swagger-typescript-api 2npx swagger-typescript-api generate --path ./swagger.json
1npm install --save-dev swagger-typescript-api
1import * as path from "node:path"; 2import * as process from "node:process"; 3import { generateApi } from "swagger-typescript-api"; 4 5await generateApi({ input: path.resolve(process.cwd(), "./swagger.json") });
For more detailed configuration options, please consult the documentation.
Licensed under the MIT License.
No vulnerabilities found.
Reason
30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
0 existing vulnerabilities detected
Reason
Found 0/8 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More