Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

option-multiplexer

izaakschroeder11.7k0.1.0

Create combinations of configurations from an initial set of options.

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