one-from-each
v1.1.0
Published
Get all possibilities taking one value for each key ( from an array of values for that key )
Downloads
2
Readme
one-from-each
Get all possibilities taking one value for each key ( from an array of vals for that key )
Input :
{
"key1" : ["val1", "val2"],
"key2" : ["val1"]
}
Output :
[
{
"key1" : "val1",
"key2" : "val1"
},
{
"key1" : "val2",
"key2" : "val1"
}
]