Search results

126 packages found

Bit twiddling hacks for JavaScript

published version 1.0.2, 11 years ago95 dependents licensed under $MIT
1,493,236

Computes the parity of a permutation

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

Ranks and unranks permutations

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

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

published version 2.1.2, 2 years ago134 dependents licensed under $MIT
161,991

Inverts permutations

published version 1.0.0, 11 years ago3 dependents licensed under $MIT
89,933

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

published version 9.3.0, 24 days ago79 dependents licensed under $Apache-2.0
41,007

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
40,973

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
38,291

Calculates all possible permutations of a certain size.

published version 1.0.0, 5 years ago10 dependents licensed under $MIT
12,130

An array is a collection of values, stored contiguously.

published version 4.3.3, 2 months ago1 dependents licensed under $MIT
7,936

A collection of utility functions for working with randomness.

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

permutation utils

published version 0.2.0, 10 years ago4 dependents licensed under $MIT
13,416

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

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

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

return all permutations of array elements

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

A JavaScript utility for shuffling arrays

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

generate every possible permutation of characters

published version 0.0.2, 10 years ago2 dependents licensed under $MIT
970

Asynchronously iterate over permutations of function arguments

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

Provides functions for many of the statistical operations that you might need

published version 1.0.7, 7 years ago3 dependents
1,478

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

published version 2.8.0, a month ago1 dependents licensed under $MIT
687