Gathering detailed insights and metrics for koa-ctx-basic-auth
Gathering detailed insights and metrics for koa-ctx-basic-auth
npm install koa-ctx-basic-auth
Typescript
Module System
Node Version
NPM Version
62.8
Supply Chain
49.8
Quality
74.8
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
30,300
Last Day
48
Last Week
175
Last Month
974
Last Year
9,309
6 Stars
12 Commits
3 Forks
8 Watching
71 Branches
15 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
koa-ctx-basic-auth@1.0.0
Size
1.28 kB
NPM Version
3.9.5
Node Version
6.2.2
Cumulative downloads
Total Downloads
Last day
20%
48
Compared to previous day
Last week
-16.3%
175
Compared to previous week
Last month
1.5%
974
Compared to previous month
Last year
71.8%
9,309
Compared to previous year
Augments Koa with const { name, pass } = ctx.basicAuth
and ctx.request.basicAuth
.
1const Koa = require('koa') 2 3const app = new Koa() 4 5require('koa-ctx-basic-auth')(app) 6 7app.use(async (ctx, next) => { 8 const { name, pass } = ctx.basicAuth 9 // OR 10 const { name, pass } = ctx.request.basicAuth 11 12 await next() 13})
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
Found 5/9 approved changesets -- score normalized to 5
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-27
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