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,625,043

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

published version 6.1.1, 7 months ago20 dependents licensed under $MIT
784,088

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

published version 1.0.8, 8 years ago110 dependents licensed under $(MIT OR Apache-2.0)
145,219

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, 11 years ago3 dependents
5,825

Shuffles array elements in place.

published version 1.0.0, 11 years ago1 dependents
1,171

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
902

Fastest JS solver for exact cover problems using Dancing Links

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

Shuffle elements of an array-like object.

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

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

published version 1.0.0, 10 years ago2 dependents licensed under $MIT
212

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

published version 1.7.0, 6 months ago1 dependents licensed under $MIT
178

Bitcoin Cash development platform for Javascript and Typescript applications

published version 2.6.0, 6 months ago0 dependents licensed under $MIT
132

Secure, sequential (n, N) sampling without replacement

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

Generates a random permutation

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

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
45

Bitcoin Cash development platform for Javascript applications

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

Knuth-Morris-Pratt algorithm for JavaScript

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

Bitcoin Cash development platform for Javascript applications

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

Implementantion of Knuth's dancing links algorithm

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

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

published version 0.1.0, 11 years ago0 dependents
16

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

published version 1.1.0, 7 years ago0 dependents licensed under $Apache-2.0
15