1.0.0 • Published 5 years ago
exhaust v1.0.0
exhaust
Traversing Permutations exhaustive.
穷举遍历所有的排列
Getting Started
Install the module: npm i exhaust
Examples
var $$exhaust = require('exhaust');
console.log($$exhaust(may => `${may('a', 'b')} - ${may('x', 'y', 'z')}`));
// [ 'a - x', 'a - y', 'a - z', 'b - x', 'b - y', 'b - z' ]
License
Licensed under the MIT license.