Gathering detailed insights and metrics for array-flatten
Gathering detailed insights and metrics for array-flatten
Gathering detailed insights and metrics for array-flatten
Gathering detailed insights and metrics for array-flatten
npm install array-flatten
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
86 Stars
71 Commits
19 Forks
7 Watching
5 Branches
6 Contributors
Updated on 08 Feb 2024
JavaScript (74.72%)
TypeScript (25.28%)
Cumulative downloads
Total Downloads
Last day
-3.4%
7,131,667
Compared to previous day
Last week
3%
38,498,573
Compared to previous week
Last month
11.3%
158,437,813
Compared to previous month
Last year
-6.9%
1,770,660,455
Compared to previous year
Flatten nested arrays.
🚨 Notice: Code using node.js >= 11 should use the native Array.flat() method instead. 🚨
npm install array-flatten --save
1import { flatten } from "array-flatten"; 2 3flatten([1, [2, [3, [4, [5], 6], 7], 8], 9]); 4//=> [1, 2, 3, 4, 5, 6, 7, 8, 9] 5 6(function() { 7 flatten(arguments); //=> [1, 2, 3] 8})(1, [2, 3]);
MIT
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/13 approved changesets -- score normalized to 2
Reason
0 commit(s) and 1 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
Reason
59 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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