Gathering detailed insights and metrics for @extra-array/partition
Gathering detailed insights and metrics for @extra-array/partition
Gathering detailed insights and metrics for @extra-array/partition
Gathering detailed insights and metrics for @extra-array/partition
An array is a collection of values, stored contiguously.
npm install @extra-array/partition
Typescript
Module System
Node Version
NPM Version
66
Supply Chain
77.2
Quality
76.2
Maintenance
100
Vulnerability
100
License
TypeScript (95.89%)
JavaScript (4.11%)
Total Downloads
80,927
Last Day
7
Last Week
16
Last Month
205
Last Year
9,466
MIT License
16 Stars
566 Commits
5 Forks
2 Watchers
3 Branches
4 Contributors
Updated on Apr 09, 2025
Minified
Minified + Gzipped
Latest Version
2.10.19
Package Id
@extra-array/partition@2.10.19
Unpacked Size
4.10 kB
Size
2.05 kB
File Count
8
NPM Version
8.4.1
Node Version
17.5.0
Cumulative downloads
Total Downloads
Last Day
250%
7
Compared to previous day
Last Week
77.8%
16
Compared to previous week
Last Month
-52.8%
205
Compared to previous month
Last Year
-1.7%
9,466
Compared to previous year
Segregates values by test result. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:
Alternatives: partition, partitionAs.
Similar: count, partition.
This is part of package extra-array.
1array.partition(x, ft); 2// x: an array 3// ft: test function (v, i, x) 4// → [satisfies, doesnt]
1const array = require("extra-array"); 2 3var x = [1, 2, 3, 4]; 4array.partition(x, v => v % 2 == 0); 5// [ [ 2, 4 ], [ 1, 3 ] ] 6 7var x = [1, 2, 3, 4, 5]; 8array.partition(x, v => v % 2 == 1); 9// [ [ 1, 3, 5 ], [ 2, 4 ] ]
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
5 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
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
Score
Last Scanned on 2025-06-09
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