enum-powerset
generates all possible subsets (powerset) of elements in a given array
Usage
Example
//generate all possible ways in which alice bob and eve can be selected var powerSet = var arr = 'alice' 'bob' 'eve' var result = console
API
require('enum-powerset')(arr)
returns an array containing all possible selections of elements in given array arr
License
MIT