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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    3,246
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    3,246

Package Sidebar

Install

npm i option-multiplexer

Weekly Downloads

1,042

Version

0.1.0

License

none

Last publish

Collaborators

  • izaakschroeder