npm.io
0.1.0 • Published 11 years ago

option-multiplexer

Licence
—
Version
0.1.0
Deps
2
Vulns
6
Weekly
0

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