enum-all
enumerate all the elments in a given array for given capacity
Usage
Example
//generate all 3 letter string using numbers between 1 and 5 var enumAll = var arr = '1''2''3''4''5' var capacity = 3 //result is an array containing all possible combinations var result = console
API
require('enum-all')(arr, capacity)
returns an array containing all combinations of elements in an array arr for given capacity
License
MIT