26 packages found
The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support
Bitcoin Cash development platform for Javascript and Typescript applications
Bitcoin Cash development platform for Javascript applications
Shuffle elements of an array-like object.
A fast implementation of a fisher-yates shuffle that does not mutate the source array.
Bitcoin Cash development platform for Javascript applications
Foundation library for @knuth/bch (Bitcoin Cash development platform for Javascript applications)
A set of math utilities for working with random numbers/arrays.
Bitcoin Cash development platform for Javascript and Typescript applications
Secure, sequential (n, N) sampling without replacement
A library for generating integer hash values using Knuth's multiplicative method in Javascript and Typescript.
The shuffling algorithm that DOES NOT use Math.random()
Shuffle the words in a string and optionally the letters in each word using the Fisher-Yates algorithm. Useful for creating test fixtures, benchmarking samples, etc.
- algorithm
- benchmarking
- combinatorics
- efficient
- equally
- finite
- fisher
- fixtures
- knuth
- letters
- permutation
- random
- randomly
- randomize
- View more
The Fisher-Yates (aka Knuth) shuffle for Browser and Node.js
Shuffle an array of objects using Fisher-Yates shuffle algorithm
Knuth-Morris-Pratt algorithm for JavaScript
Generates a random permutation
Shuffles array elements in place.
Invertible transformations on permutation representations, including an RNG-free in-place Fisher-Yates-Knuth shuffle
- base
- factoradic
- factorial
- Fisher-Yates
- Fisher-Yates-Knuth
- in-place
- Knuth
- number
- permutation
- permutations
- permute
- shuffle
- system
An implementation of the Knuth-Morris-Pratt string searching algorithm.