Gathering detailed insights and metrics for swaggerui2koa
Gathering detailed insights and metrics for swaggerui2koa
npm install swaggerui2koa
Typescript
Module System
Node Version
NPM Version
74.6
Supply Chain
78.3
Quality
72
Maintenance
100
Vulnerability
99.6
License
JavaScript (95.93%)
CSS (3.84%)
HTML (0.24%)
Total Downloads
753
Last Day
1
Last Week
9
Last Month
19
Last Year
71
1 Stars
4 Commits
2 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
swaggerui2koa@1.0.0
Unpacked Size
3.30 MB
Size
870.21 kB
File Count
49
NPM Version
6.3.0
Node Version
10.6.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
200%
9
Compared to previous week
Last month
375%
19
Compared to previous month
Last year
-10.1%
71
Compared to previous year
4
swagger ui middleware for koa2
install
npm install swaggerui2koa
example
const app = new koa();
// load swagger schema
const spec = fs.readFileSync(path.join(__dirname,'swagger.yaml'), 'utf8');
const swaggerDoc = jsyaml.safeLoad(spec);
const options = {
swaggerUi: 'swagger' // config swagger ui path
};
// Serve the Swagger documents and Swagger UI
app.use(require('../index')(swaggerDoc, options));
// vist swagger ui view on http://localhost:8080/swagger/
app.listen(8080);
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
7 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-02-03
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