Installations
npm install koa2-cors-error
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
5.10.0
NPM Version
3.8.7
Score
66.1
Supply Chain
67.6
Quality
74.8
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
scttcper
Download Statistics
Total Downloads
2,460
Last Day
1
Last Week
2
Last Month
4
Last Year
62
GitHub Statistics
8 Commits
3 Watching
2 Branches
1 Contributors
Bundle Size
2.83 kB
Minified
1.40 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.0.0
Package Id
koa2-cors-error@1.0.0
Size
2.59 kB
NPM Version
3.8.7
Node Version
5.10.0
Total Downloads
Cumulative downloads
Total Downloads
2,460
Last day
0%
1
Compared to previous day
Last week
100%
2
Compared to previous week
Last month
100%
4
Compared to previous month
Last year
-12.7%
62
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
koa-cors-error
Module has fixed the bug when the system didn't send the 4xx or 5xx statuses through cross-domain requests.
koa onerror
method have been completely replaced.
Installation
1$ npm install koa-cors-error
Use
1var corsError = require('koa-cors-error'); 2 3app.use(cors()); 4app.use(corsError()); 5 6app.use(function(ctx, next) { 7 ctx.throw(400); 8});
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/5 approved changesets -- score normalized to 0
Reason
project is archived
Details
- Warn: Repository is archived.
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 4 are checked with a SAST tool
Score
3
/10
Last Scanned on 2024-12-16
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