Gathering detailed insights and metrics for @cfworker/jwt
Gathering detailed insights and metrics for @cfworker/jwt
Gathering detailed insights and metrics for @cfworker/jwt
Gathering detailed insights and metrics for @cfworker/jwt
npm install @cfworker/jwt
Typescript
Module System
Node Version
NPM Version
73.9
Supply Chain
75.7
Quality
90.6
Maintenance
100
Vulnerability
100
License
@cfworker/web@5.0.5
Published on 14 Dec 2024
@cfworker/web@5.0.4
Published on 14 Dec 2024
@cfworker/json-schema@4.0.3
Published on 10 Dec 2024
@cfworker/web@5.0.3
Published on 10 Dec 2024
@cfworker/uuid@4.0.3
Published on 10 Dec 2024
@cfworker/jwt@7.0.3
Published on 10 Dec 2024
TypeScript (83.39%)
JavaScript (16.61%)
Total Downloads
117,096
Last Day
1
Last Week
1,163
Last Month
5,300
Last Year
53,607
633 Stars
424 Commits
57 Forks
9 Watching
13 Branches
20 Contributors
Minified
Minified + Gzipped
Latest Version
7.0.3
Package Id
@cfworker/jwt@7.0.3
Unpacked Size
31.01 kB
Size
5.55 kB
File Count
36
NPM Version
10.9.0
Node Version
22.11.0
Publised On
10 Dec 2024
Cumulative downloads
Total Downloads
Last day
-75%
1
Compared to previous day
Last week
-17.5%
1,163
Compared to previous week
Last month
10.9%
5,300
Compared to previous month
Last year
146.8%
53,607
Compared to previous year
1
7
Tiny lib for decoding JWTs and verifying signatures, using native crypto APIs.
Currently supports RS256, RS384, and RS512.
1const jwt = request.headers.get('Authorization'); 2const issuer = '...'; // Auth0 origin. 3const audience = '...'; // Auth0 client id. 4 5const result = await parseJwt({ jwt, issuer, audience }); 6if (!result.valid) { 7 console.log(result.reason); // Invalid issuer/audience, expired, etc 8} else { 9 console.log(result.payload); // { iss, sub, aud, iat, exp, ...claims } 10}
No vulnerabilities found.
Reason
30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
Found 1/7 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
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
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-12-23
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