Search results

25 packages found

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

published version 1.0.6, 10 years ago27 dependents licensed under $Apache-2.0
5,385,082

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

published version 6.1.1, 5 months ago20 dependents licensed under $MIT
513,787

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

published version 1.0.8, 7 years ago112 dependents licensed under $(MIT OR Apache-2.0)
47,907

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, 10 years ago3 dependents
5,728

Efficient integer hashing library using Knuth's multiplicative method for Javascript and Typescript, perfect for obfuscating sequential numbers.

published version 3.0.4, a year ago1 dependents licensed under $MIT
1,253

Shuffles array elements in place.

published version 1.0.0, 10 years ago1 dependents
1,119

Secure, sequential (n, N) sampling without replacement

published version 2.0.0, 5 years ago1 dependents licensed under $ISC
350

Fastest JS solver for exact cover problems using Dancing Links

published version 2.1.1, 6 years ago2 dependents licensed under $MIT
245

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

published version 1.0.0, 9 years ago2 dependents licensed under $MIT
273

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

published version 1.7.0, 3 months ago1 dependents licensed under $MIT
174

Shuffle elements of an array-like object.

published version 0.2.1, a year ago0 dependents licensed under $Apache-2.0
105

Bitcoin Cash development platform for Javascript applications

published version 0.23.0, 4 years ago2 dependents licensed under $MIT
76

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, 7 years ago0 dependents licensed under $MIT
39

Knuth-Morris-Pratt algorithm for JavaScript

published version 1.0.0, 4 years ago0 dependents licensed under $AGPL-3.0
39

Bitcoin Cash development platform for Javascript and Typescript applications

published version 2.6.0, 3 months ago0 dependents licensed under $MIT
39

Generates a random permutation

published version 0.0.0, 11 years ago1 dependents licensed under $MIT
22

Generate an array of random number ranges. Useful for creating test fixtures or benchmarking samples.

published version 0.1.0, 10 years ago0 dependents
22

Bitcoin Cash development platform for Javascript applications

published version 0.9.0, 4 years ago0 dependents licensed under $MIT
14

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

published version 1.0.2, 5 years ago0 dependents licensed under $MIT
8

Implementantion of Knuth's dancing links algorithm

published version 1.0.1, 6 years ago0 dependents licensed under $ISC
6