option-multiplexer
v0.1.0
Published
Create combinations of configurations from an initial set of options.
Downloads
4,723
Readme
option-multiplexer
Create combinations of configurations from an initial set of options.
var multiplex = require('option-multiplexer');
var choices = {
cheese: [ 'swiss', 'gouda', 'cheddar' ],
meat: [ 'salami', 'chicken' ],
bread: [ 'flatbread', 'white', 'italian' ]
};
var sandwiches = multiplex(choices);
console.log(sandwiches);