npm

Search results

25 packages found

The Fisher-Yates (aka Knuth) shuffle for Browser and Node.js

published version 1.0.8, 9 years ago77 dependents licensed under $(MIT OR Apache-2.0)
4,572,287

The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support

published version 1.0.6, 11 years ago27 dependents licensed under $Apache-2.0
8,774,250

A fast implementation of a fisher-yates shuffle that does not mutate the source array.

published version 6.2.0, 25 days ago24 dependents licensed under $MIT
1,231,235

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.

published version 0.1.2, 12 years ago3 dependents
5,448

Secure, sequential (n, N) sampling without replacement

published version 2.0.0, 6 years ago1 dependents licensed under $ISC
978

Shuffle elements of an array-like object.

published version 0.2.3, 4 months ago0 dependents licensed under $Apache-2.0
721

Fastest JS solver for exact cover problems using Dancing Links

published version 4.3.7, 5 months ago2 dependents licensed under $MIT
547

An implementation of the Knuth-Morris-Pratt string searching algorithm.

published version 1.0.0, 11 years ago2 dependents licensed under $MIT
238

With this library, you can transform your ids to obfuscated integers based on Knuth's integer hash. Port of optimus-js

published version 1.0.1, 8 years ago0 dependents licensed under $MIT
167

Bitcoin Cash development platform for Javascript and Typescript applications

published version 2.6.0, 2 years ago0 dependents licensed under $MIT
136

Foundation library for @knuth/bch (Bitcoin Cash development platform for Javascript applications)

published version 1.7.0, 2 years ago1 dependents licensed under $MIT
142

Shuffles array elements in place.

published version 1.0.0, 12 years ago1 dependents
139

Bitcoin Cash development platform for Javascript applications

published version 0.23.0, 5 years ago2 dependents licensed under $MIT
119

A reversible integer bijection for Javascript and Typescript. Obfuscate auto-increment IDs, generate license keys, build URL shorteners — powered by Knuth's multiplicative method over a modular ring.

published version 4.0.0, 2 months ago0 dependents licensed under $MIT
93

Bitcoin Cash development platform for Javascript applications

published version 0.9.0, 5 years ago0 dependents licensed under $MIT
50

A package that efficiently solves classic sudoku puzzles using Knuth's DLX algorithm

published version 1.0.2, 6 years ago0 dependents licensed under $MIT
49

The shuffling algorithm that DOES NOT use Math.random()

published version 1.0.1, 12 years ago0 dependents licensed under $MIT
21

Implementantion of Knuth's dancing links algorithm

published version 1.0.1, 7 years ago0 dependents licensed under $ISC
23

Knuth-Morris-Pratt algorithm for JavaScript

published version 1.0.0, 5 years ago0 dependents licensed under $AGPL-3.0
21

A set of math utilities for working with random numbers/arrays.

published version 1.1.0, 8 years ago0 dependents licensed under $Apache-2.0
25