fasiha

fasiha/cartesian-product-generator

ES2015 generator (iterable iterator) for Cartesian product. Put combinatorial explosion back in the kennel.

JavaScript
7
1
The Unlicense

This is a JavaScript library that provides an ES2015 generator for computing Cartesian products of multiple arrays without storing all combinations in memory at once. It's designed for developers working with ES2015+ environments, TypeScript, or Node.js who need to efficiently iterate over combinations of array elements without the memory overhead of generating all combinations upfront.

Total donated
Undistributed
Share with your subscribers: