Gathering detailed insights and metrics for spdx-ranges
Gathering detailed insights and metrics for spdx-ranges
npm install spdx-ranges
Typescript
Module System
Node Version
NPM Version
99.8
Supply Chain
79.9
Quality
75.2
Maintenance
100
Vulnerability
99.6
License
Total Downloads
116,674,021
Last Day
144,596
Last Week
742,466
Last Month
2,416,813
Last Year
35,349,109
20 Commits
1 Forks
2 Watching
2 Branches
7 Contributors
Minified
Minified + Gzipped
Latest Version
2.1.1
Package Id
spdx-ranges@2.1.1
Size
2.10 kB
NPM Version
6.9.0
Node Version
10.16.2
Publised On
08 Aug 2019
Cumulative downloads
Total Downloads
Last day
6.9%
144,596
Compared to previous day
Last week
23%
742,466
Compared to previous week
Last month
-30.5%
2,416,813
Compared to previous month
Last year
15.4%
35,349,109
Compared to previous year
2
1var assert = require('assert') 2var ranges = require('spdx-ranges') 3 4assert( 5 Array.isArray(ranges), 6 'module is an Array' 7) 8 9assert( 10 ranges.length > 0, 11 'the Array has elements' 12) 13 14assert( 15 ranges.every(function (e) { 16 return Array.isArray(e) 17 }), 18 'each Array element is an Array' 19) 20 21assert( 22 ranges.every(function (range) { 23 return range.every(function (element) { 24 return ( 25 typeof element === 'string' || 26 ( 27 Array.isArray(element) && 28 element.every(function (element) { 29 return typeof element === 'string' 30 }) 31 ) 32 ) 33 }) 34 }), 35 'elements of Array-elements are strings or Arrays of Strings' 36)
The Linux Foundation and its contributors license the SPDX standard under the terms of the Creative Commons Attribution License 3.0 Unported (SPDX: "CC-BY-3.0"). "SPDX" is a United States federally registered trademark of the Linux Foundation. The authors of this package license their work under the terms of the MIT License.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/18 approved changesets -- score normalized to 0
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
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