26 packages found
The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support
Shuffle elements of an array-like object.
A fast implementation of a fisher-yates shuffle that does not mutate the source array.
Secure, sequential (n, N) sampling without replacement
A set of math utilities for working with random numbers/arrays.
The Fisher-Yates (aka Knuth) shuffle for Browser and Node.js
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.
- View more
Shuffle an array of objects using Fisher-Yates shuffle algorithm
Shuffles array elements in place.
Invertible transformations on permutation representations, including an RNG-free in-place Fisher-Yates-Knuth shuffle
A package that efficiently solves classic sudoku puzzles using Knuth's DLX algorithm
An implementation of the Knuth-Morris-Pratt string searching algorithm.