Search results

126 packages found

Bit twiddling hacks for JavaScript

published version 1.0.2, 11 years ago95 dependents licensed under $MIT
1,500,427

Computes the parity of a permutation

published version 1.0.0, 11 years ago2 dependents licensed under $MIT
91,728

Ranks and unranks permutations

published version 1.0.0, 11 years ago2 dependents licensed under $MIT
91,794

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

published version 2.1.2, 2 years ago134 dependents licensed under $MIT
159,848

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

published version 9.3.1, 3 days ago80 dependents licensed under $Apache-2.0
39,847

Inverts permutations

published version 1.0.0, 11 years ago3 dependents licensed under $MIT
91,845

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
42,149

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
37,241

Calculates all possible permutations of a certain size.

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

An array is a collection of values, stored contiguously.

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

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

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

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

A collection of utility functions for working with randomness.

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

permutation utils

published version 0.2.0, 10 years ago4 dependents licensed under $MIT
12,150

return all permutations of array elements

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

A JavaScript utility for shuffling arrays

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

Asynchronously iterate over permutations of function arguments

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

generate every possible permutation of characters

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

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

published version 1.0.7, 7 years ago3 dependents
1,350

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