Search results
125 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Bit twiddling hacks for JavaScript
- bit
- twiddle
- hacks
- graphics
- logarithm
- exponent
- base 2
- binary
- arithmetic
- octree
- quadtree
- math
- nextPow2
- log
- View more
Computes the parity of a permutation
Ranks and unranks permutations
Simple combinatorics like power set, combination, and permutation in JavaScript
Inverts permutations
Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations
- 1d
- 2d
- 3d
- array
- benchmark
- clojure
- composition
- convolution
- cycle
- filter
- flatten
- frequency
- functional
- fuzzy
- View more
Computes the cartesian product of arrays provided by an array or an object
An array is a collection of values, stored contiguously.
Efficient Combinatorics library for JavaScript using ES2015 generator functions. Generate power set, combination, and permutation.
Calculates all possible permutations of a certain size.
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.
- algorithm
- benchmarking
- combinatorics
- efficient
- equally
- finite
- fisher
- fixtures
- knuth
- letters
- permutation
- random
- randomly
- randomize
- View more
A collection of utility functions for working with randomness.
- array
- boolean
- chance
- collection
- combination
- date
- exclusive
- float
- inclusive
- integer
- iterable
- luck
- mersenne twister
- number
- View more
Simple combinatorics like power set, combination, and permutation in JavaScript
A JavaScript utility for shuffling arrays
permutation utils
return all permutations of array elements
Asynchronously iterate over permutations of function arguments
Checks if array has a permutation.
Picks an arbitrary permutation.
A set of methods for the generation and transformation of number sequences useful in algorithmic composition
- serialism
- composition
- total
- algorithmic
- twelvetone
- melody
- pitch
- rhythm
- harmony
- chord
- progression
- sequence
- pattern
- note
- View more