exhaust

1.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i exhaust

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.17 kB

Total Files

4

Last publish

Collaborators

  • purplestone