Gathering detailed insights and metrics for @types/knuth-shuffle-seeded
Gathering detailed insights and metrics for @types/knuth-shuffle-seeded
Gathering detailed insights and metrics for @types/knuth-shuffle-seeded
Gathering detailed insights and metrics for @types/knuth-shuffle-seeded
The repository for high quality TypeScript type definitions.
npm install @types/knuth-shuffle-seeded
Typescript
Module System
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,046 Stars
89,747 Commits
30,435 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 16, 2025
Latest Version
1.0.2
Package Id
@types/knuth-shuffle-seeded@1.0.2
Unpacked Size
3.91 kB
Size
1.82 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
npm install --save @types/knuth-shuffle-seeded
This package contains type definitions for knuth-shuffle-seeded (https://github.com/TimothyGu/knuth-shuffle-seeded).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knuth-shuffle-seeded.
1export = shuffle; 2 3/** 4 * Shuffle an array using the Fisher-Yates shuffle algorithm, aka Knuth 5 * shuffle. 6 * 7 * Note that this function overwrites the initial array. As a result if you 8 * would like to keep the original array intact, you have to copy the initial 9 * array to a new array. 10 * 11 * Implementation derived from http://stackoverflow.com/questions/2450954/. 12 * 13 * @param inputArray - An array that is to be shuffled. 14 * @param [seed=Math.random()] - Seed for the shuffling operation. If 15 * unspecified then a random value is used. 16 * @return The resulting array. 17 */ 18declare function shuffle<T = unknown>(inputArray: T[], seed?: number): T[]; 19
These definitions were written by Ethan Brown.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-14
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