Gathering detailed insights and metrics for @extra-array/copy-within-update
Gathering detailed insights and metrics for @extra-array/copy-within-update
Gathering detailed insights and metrics for @extra-array/copy-within-update
Gathering detailed insights and metrics for @extra-array/copy-within-update
npm install @extra-array/copy-within-update
Typescript
Module System
Node Version
NPM Version
66.1
Supply Chain
79.9
Quality
76.2
Maintenance
100
Vulnerability
100
License
TypeScript (95.89%)
JavaScript (4.11%)
Total Downloads
67,635
Last Day
5
Last Week
581
Last Month
1,303
Last Year
6,670
15 Stars
564 Commits
5 Forks
3 Watching
3 Branches
4 Contributors
Minified
Minified + Gzipped
Latest Version
2.10.19
Package Id
@extra-array/copy-within-update@2.10.19
Unpacked Size
4.26 kB
Size
2.05 kB
File Count
8
NPM Version
8.4.1
Node Version
17.5.0
Cumulative downloads
Total Downloads
Last day
0%
5
Compared to previous day
Last week
77.1%
581
Compared to previous week
Last month
192.2%
1,303
Compared to previous month
Last year
-39.7%
6,670
Compared to previous year
Copies part of array within. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:
Alternatives: copyWithin, copyWithin$.
Similar: copy, copyWithin, moveWithin.
This is part of package extra-array.
1array.copyWithin$(x, [j], [i], [I]); 2// x: an array (updated) 3// j: write index (0) 4// i: read start index (0) 5// I: read end index (X) 6// → x
1const array = require("extra-array"); 2 3var x = [1, 2, 3, 4, 5]; 4array.copyWithin$(x, 3); 5// [ 1, 2, 3, 1, 2 ] 6 7x; 8// [ 1, 2, 3, 1, 2 ] 9 10var x = [1, 2, 3, 4, 5]; 11array.copyWithin$(x, 3, 1); 12// [ 1, 2, 3, 2, 3 ] 13 14var x = [1, 2, 3, 4, 5]; 15array.copyWithin$(x, 3, 1, 2); 16// [ 1, 2, 3, 2, 5 ]
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
Found 0/30 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 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-01-13
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