Gathering detailed insights and metrics for spdx-correct
Gathering detailed insights and metrics for spdx-correct
npm install spdx-correct
Typescript
Module System
Node Version
NPM Version
99.5
Supply Chain
73
Quality
78
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
6,071,473,533
Last Day
4,739,721
Last Week
24,351,099
Last Month
83,740,601
Last Year
1,270,319,923
32 Stars
119 Commits
22 Forks
4 Watching
15 Branches
13 Contributors
Minified
Minified + Gzipped
Latest Version
3.2.0
Package Id
spdx-correct@3.2.0
Unpacked Size
22.86 kB
Size
7.07 kB
File Count
4
NPM Version
9.5.0
Node Version
18.14.2
Publised On
07 Mar 2023
Cumulative downloads
Total Downloads
Last day
7.6%
4,739,721
Compared to previous day
Last week
11%
24,351,099
Compared to previous week
Last month
-31.2%
83,740,601
Compared to previous month
Last year
6.7%
1,270,319,923
Compared to previous year
2
5
1var correct = require('spdx-correct') 2var assert = require('assert') 3 4assert.strictEqual(correct('mit'), 'MIT') 5 6assert.strictEqual(correct('Apache 2'), 'Apache-2.0') 7 8assert(correct('No idea what license') === null) 9 10// disable upgrade option 11assert(correct('GPL-3.0'), 'GPL-3.0-or-later') 12assert(correct('GPL-3.0', { upgrade: false }), 'GPL-3.0')
spdx-correct has benefited from the work of several contributors. See the GitHub repository for more information.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 4/19 approved changesets -- score normalized to 2
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
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-06
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