option-multiplexer

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i option-multiplexer

Weekly Downloads

527

Version

0.1.0

License

none

Last publish

Collaborators

  • izaakschroeder