Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 360 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 360 Bytes

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);