Installations
npm install spdx-ranges
Developer Guide
Typescript
No
Module System
N/A
Node Version
10.16.2
NPM Version
6.9.0
Score
99.8
Supply Chain
79.9
Quality
75.2
Maintenance
100
Vulnerability
99.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Developer
Download Statistics
Total Downloads
116,674,021
Last Day
144,596
Last Week
742,466
Last Month
2,416,813
Last Year
35,349,109
GitHub Statistics
20 Commits
1 Forks
2 Watching
2 Branches
7 Contributors
Bundle Size
2.09 kB
Minified
649.00 B
Minified + Gzipped
Package Meta Information
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
Total Downloads
Cumulative downloads
Total Downloads
116,674,021
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
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
2
Usage
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)
Licensing
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
- Info: project has a license file: LICENSE.md:0
- Info: FSF or OSI recognized license: MIT License: LICENSE.md:0
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
- 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 3 are checked with a SAST tool
Score
3
/10
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