array-combinator
Generate combinations of array elements. Given an array of array of elements generates combinations of each element of each array.
Install
Install as an NPM package
npm i array-combinator --save
Usage
const combinator = ; ;// outputs/*[ [ 1, 'a' ], [ 2, 'a' ], [ 1, 'b' ], [ 2, 'b' ], [ 1, 'c' ], [ 2, 'c' ]]*/
Tests
Run npm test