Search results

125 packages found

Bit twiddling hacks for JavaScript

published version 1.0.2, 11 years ago95 dependents licensed under $MIT
1,523,880

Computes the parity of a permutation

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

Ranks and unranks permutations

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

Simple combinatorics like power set, combination, and permutation in JavaScript

published version 2.1.2, a year ago134 dependents licensed under $MIT
186,770

Inverts permutations

published version 1.0.0, 11 years ago3 dependents licensed under $MIT
104,633

Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations

published version 9.2.26, 8 days ago79 dependents licensed under $Apache-2.0
35,342

Computes the cartesian product of arrays provided by an array or an object

published version 1.0.1, 8 years ago33 dependents licensed under $MIT
44,869

An array is a collection of values, stored contiguously.

published version 4.3.3, 15 days ago1 dependents licensed under $MIT
12,264

Efficient Combinatorics library for JavaScript using ES2015 generator functions. Generate power set, combination, and permutation.

published version 1.1.0, 8 years ago22 dependents licensed under $MIT
30,594

Calculates all possible permutations of a certain size.

published version 1.0.0, 5 years ago9 dependents licensed under $MIT
11,946

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,828

A collection of utility functions for working with randomness.

published version 3.0.0, 5 years ago2 dependents licensed under $MIT
5,469

Simple combinatorics like power set, combination, and permutation in JavaScript

published version 1.0.0, 4 years ago2 dependents licensed under $MIT
4,139

A JavaScript utility for shuffling arrays

published version 1.0.5, 2 years ago0 dependents licensed under $MIT
1,621

permutation utils

published version 0.2.0, 10 years ago4 dependents licensed under $MIT
3,109

return all permutations of array elements

published version 0.0.3, 8 years ago0 dependents licensed under $MIT
1,331

Asynchronously iterate over permutations of function arguments

published version 1.3.1, 11 years ago2 dependents licensed under $Apache 2.0
1,015

Checks if array has a permutation.

published version 2.9.64, 5 years ago0 dependents licensed under $MIT
956

Picks an arbitrary permutation.

published version 2.10.19, 3 years ago0 dependents licensed under $MIT
846

A set of methods for the generation and transformation of number sequences useful in algorithmic composition

published version 2.8.0, 4 days ago1 dependents licensed under $MIT
836