18 packages found

M
Q
P

Description

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

Keywords

Publisher

published 1.0.65 years ago
M
Q
P

Description

Secure, sequential (n, N) sampling without replacement

Keywords

Publisher

published 2.0.0a month ago
M
Q
P

Description

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

Keywords

Publisher

published 4.2.28 days ago
M
Q
P

Description

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

Keywords

Publisher

published 1.1.02 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.83 years ago
M
Q
P

Description

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.

Keywords

Publisher

published 0.1.26 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.16 years ago
M
Q
P

Description

Integer Hashing Library based on Knuth's multiplicative hashing method for Javascript(& Typescript).

Keywords

Publisher

published 1.1.0a year ago
M
Q
P

Description

Shuffle an array of objects using Fisher-Yates shuffle algorithm

Keywords

Publisher

published 1.1.34 years ago
M
Q
P

Description

Fastest JS solver for exact cover problems using Dancing Links

Keywords

Publisher

published 2.1.1a year ago
M
Q
P

Description

Shuffles array elements in place.

Keywords

Publisher

published 1.0.06 years ago
M
Q
P

Description

Invertible transformations on permutation representations, including an RNG-free in-place Fisher-Yates-Knuth shuffle

Keywords

Publisher

published 2.0.42 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.12 years ago
M
Q
P

Description

Implementantion of Knuth's dancing links algorithm

Keywords

Publisher

published 1.0.1a year ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.05 years ago
M
Q
P

Description

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

Keywords

Publisher

published 0.1.06 years ago
M
Q
P

Description

Generates a random permutation

Keywords

Publisher

published 0.0.06 years ago
M
Q
P

Description

Knuth shuffle

Keywords

Publisher

published 1.0.04 years ago