{"_id":"@hugoalh/setation","_rev":"27-455df5b79f55b4d4ec40f2d8331e5ccc","name":"@hugoalh/setation","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"@hugoalh/setation","version":"1.0.0","keywords":["combination","permutation","set","setation"],"author":{"name":"hugoalh"},"license":"MIT","_id":"@hugoalh/setation@1.0.0","maintainers":[{"name":"hugoalh","email":"hugoalh@gmail.com"}],"homepage":"https://github.com/hugoalh-studio/setation-nodejs#readme","bugs":{"url":"https://github.com/hugoalh-studio/setation-nodejs/issues"},"dist":{"shasum":"d288cb72362c48144d22713ad2ef3f31240c2ab8","tarball":"https://registry.npmjs.org/@hugoalh/setation/-/setation-1.0.0.tgz","fileCount":6,"integrity":"sha512-ZOyLwXYX4ug3rP1GbXNLL8XNFLDJX2wx5n7pG3Arj3BveisNNC+swcO13RGAWyP0Wxb5oEc6tnGRAwgQSFEXeg==","signatures":[{"sig":"MEYCIQDogBLSh3/TPtgcBVWII9OjQkECfX32dBIF7g5zyXcFuwIhANmpHdGFasBf+MN8PDMVZtrQq82d12a5fteTJnnP2DMC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLTAQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrphBAAieNdiO8C3SB7aQ5rBkx0qJnlB9X3asezzU49isB9PMIEseB2\r\nbBvudesoY3h+aaM3yig1Th+00eyY0S2FFkXpj9Fd5vECtnJxxYa9gGPlz0Jj\r\nFFx3JvTMCzPI+A50DfcLP4dYJO3u5cuNaGxP9RKOK+Bg6LaTgNOSWz8Xsafb\r\nk2Yl4lsOZjJG1KHYPHhgFE0SA8P5Wv12a1m8tv7HMJiXaTCwWJthwoqUlIRe\r\nbCsoqWeJ2SODP1EyTEE/L14E+wGCXVodr/PsPblMXU2fbHWI4236kj6IPFWl\r\ngjfQ60HByczQfTLWKuUIcF0vdyVfdoKoZ+l39YPeai7v5J7R3QFXMq6i75Sr\r\n5Nv/pMSZ/BUHzgfCUnYQbD5x7hhBAOnaz7LlJQnwO0w4oMM/i1Pj7n9/r8mq\r\nxucsD8N+itQm6BEYaEgf9S/SlZE5+Z6oUYxQoxPy8N764QCzyUkxKKE3uG6W\r\nkzTzsMVeBLz+h/rEmyTuOqMUrDZ5zq3hjMRCMp2XaeEJl9QucWj5JarkX6hg\r\nGuHLjA/R5O4rKIdX+kHTgKapOW/RLrIR59zKFYgYmQnXEbWZ1Itn5HhsjQWR\r\nu0DiTlkfT/WsjW+WLuFqvJ1/uUp+C0BPuI6SM5vd2BPtRSH1dGGermO2Dl8H\r\n5rTdjvjAJ2q+FLPgzNdt61RRoJJXOH1B+/8=\r\n=hLIU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":"^12.20.0 || ^14.15.0 || >=16.13.0"},"exports":{"import":"./dist/main.js"},"gitHead":"571b7270f07d457c18cfec38499ffc356e1d724e","private":false,"_npmUser":{"name":"hugoalh","email":"hugoalh@gmail.com"},"repository":{"url":"git+https://github.com/hugoalh-studio/setation-nodejs.git","type":"git"},"_npmVersion":"9.5.0","description":"A module to list permutation and combination from a set.","directories":{},"_nodeVersion":"18.15.0","dependencies":{"@hugoalh/advanced-determine":"^10.3.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.37.0","typescript":"^5.0.3","@types/node":"^18.15.11","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^5.57.1","@typescript-eslint/eslint-plugin":"^5.57.1"},"_npmOperationalInternal":{"tmp":"tmp/setation_1.0.0_1680683024803_0.4411263882288783","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@hugoalh/setation","version":"1.1.0","keywords":["combination","permutation","set","setation"],"author":{"name":"hugoalh"},"license":"MIT","_id":"@hugoalh/setation@1.1.0","maintainers":[{"name":"hugoalh","email":"hugoalh@gmail.com"}],"homepage":"https://github.com/hugoalh-studio/setation-nodejs#readme","bugs":{"url":"https://github.com/hugoalh-studio/setation-nodejs/issues"},"dist":{"shasum":"c1bf403ee7ef4527d0bdd7e362c82dd134f019bb","tarball":"https://registry.npmjs.org/@hugoalh/setation/-/setation-1.1.0.tgz","fileCount":6,"integrity":"sha512-BUcvXdxTj3bMvdmLykwHZdCfy+xKwphaegyE7R2p9yyHpIbbGQFJ9ojF5Mbt+QShv3jjGKQPLcR0rJmhuYIGkA==","signatures":[{"sig":"MEUCIQC+fTAm0UfcJPeYz4nE6X56U+nVSWLAWzWB7G2vgKg3BwIgS9vv+qLNFrmeQPl4bKF3HMgjGADX7bC6RwNPoSkp3Kk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkP4JCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpP3A//VTEFVm/yTn49FD2hh8uu9mYFU4LJMcTkbE9Zphpi1RjjpOT9\r\nZZ3bWs++eOxJP4l/0TjMQ2u8V3UAi865rWEGOypKawoIYkXkbWfOLsqdstJy\r\nGzkW4BxVGyY4IYOAnK8MWTpUITIGU1FAXTksUdz1L1hAXioDIg+/1KcV/1iw\r\neHMmQfvrJN/hupZMBkVmjDuhnLozDeZAJjtOUVm99nDPO15EYFMxMDayXd7z\r\nNFzZNGZ1g4VoSKHSQuLhdVlDM3Y61ze5wvxVDCYL3+Fk4raDn3rN7ioejy92\r\ni+kDrLVJ2ypQl4YPgrX4NHYBjQJw8BCKih8+G3E/z1StQu+eCBTgznK9QHT5\r\nw3E+kOhhl2Quu20ps0O3Uz07Wbnn1uUvFNK9sYJt3aniSj5k+8GBb9uHPKBL\r\nv95eUm9pmgSZWuz076g1def7Ej+7iETB/mcPYyzxb6I/K9mC19ary8PKNlW/\r\nmNn/8XL/YlZhKBVQQtv8KbhXhgDIxSeF57EMlc+jtpkRZ3OkpsmUuNE4NmLY\r\nvZeLLHsEhhvW66BGEahzvlbfYsgUHpN3TFHe4UGIke6L99YIrGxRHOC5LfgF\r\ncGoe7IbOAxMcRaWrnPpaR5KJQgQI3MFm3lOwWQv+ki3V98AEcFrtVTkvF8Zq\r\nJLiQbs+JSa1SESPuDP+Svy8F7nS8C6s0zNI=\r\n=f/C2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":"^12.20.0 || ^14.15.0 || >=16.13.0"},"exports":{"import":"./dist/main.js"},"gitHead":"d1788ec614619253d32ecf161fa2c2c8fb61bc06","private":false,"_npmUser":{"name":"hugoalh","email":"hugoalh@gmail.com"},"repository":{"url":"git+https://github.com/hugoalh-studio/setation-nodejs.git","type":"git"},"_npmVersion":"9.5.1","description":"A module to list permutation and combination from a set.","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.38.0","typescript":"^5.0.4","@types/node":"^18.15.11","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^5.59.0","@typescript-eslint/eslint-plugin":"^5.59.0"},"_npmOperationalInternal":{"tmp":"tmp/setation_1.1.0_1681883714429_0.5107326201160323","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@hugoalh/setation","version":"1.2.0","keywords":["combination","permutation","set","setation"],"author":{"name":"hugoalh"},"license":"MIT","_id":"@hugoalh/setation@1.2.0","maintainers":[{"name":"hugoalh","email":"hugoalh@gmail.com"}],"homepage":"https://github.com/hugoalh-studio/setation-nodejs#readme","bugs":{"url":"https://github.com/hugoalh-studio/setation-nodejs/issues"},"dist":{"shasum":"2323d324b8d0b8a17429b33c4f1376ada3add10f","tarball":"https://registry.npmjs.org/@hugoalh/setation/-/setation-1.2.0.tgz","fileCount":12,"integrity":"sha512-/L+uOYsgGWNdIOX3lNmESRNa4hTAWtjAHHw8CR2Ssbi4EsrM2c/ZWEpLQoLzcaONutQcWvv9izDWhxKPYUp8pA==","signatures":[{"sig":"MEUCIQCQF9XFjX4IlidnfunQH88B2LpW79ntdeTPhrN3CwlGbwIgeCbGJreSJ9Fb/kSyT6RsRN03Wt3HoMVtwwC0oLF04YU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hugoalh%2fsetation@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":26633},"main":"./dist/main.js","type":"module","types":"./dist/main.d.ts","engines":{"node":"^12.20.0 || ^14.15.0 || >=16.13.0"},"exports":{"import":"./dist/main.js"},"gitHead":"8985ed22b8714c562352171dba354a24485cf01d","private":false,"_npmUser":{"name":"hugoalh","email":"hugoalh@gmail.com"},"repository":{"url":"git+https://github.com/hugoalh-studio/setation-nodejs.git","type":"git"},"_npmVersion":"9.7.1","description":"A module to list permutation and combination from a set.","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.42.0","typescript":"^5.1.3","@types/node":"^20.3.1","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^5.59.11","@typescript-eslint/eslint-plugin":"^5.59.11"},"_npmOperationalInternal":{"tmp":"tmp/setation_1.2.0_1686643830071_0.7068982201538201","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@hugoalh/setation","version":"2.0.0","keywords":["combination","permutation","set","setation"],"author":{"name":"hugoalh"},"license":"MIT","_id":"@hugoalh/setation@2.0.0","maintainers":[{"name":"hugoalh","email":"hugoalh@gmail.com"}],"homepage":"https://github.com/hugoalh/setation-es#readme","bugs":{"url":"https://github.com/hugoalh/setation-es/issues"},"dist":{"shasum":"3d3c6f5e15c4322f2c474c613bdafcc6febf4a6f","tarball":"https://registry.npmjs.org/@hugoalh/setation/-/setation-2.0.0.tgz","fileCount":12,"integrity":"sha512-hJmALsLrbMmHJP67ViYIvDNiEjs+VYQNirgoN4XHwaq7rtGLrtO3NxyucdRjb/5WYrAVcEo1DoPdb2MdCCbXAQ==","signatures":[{"sig":"MEQCIF2ysIlLd0j4gXMgDNFUFTGxbs3fNvsu63ig7mxr/5JmAiAcO6m+KiX9FQjgZfj8gkwMhVxkb6PZUYge7w/TioUxtg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hugoalh%2fsetation@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17780},"main":"./mod.js","type":"module","types":"./mod.d.ts","module":"./mod.js","engines":{"node":">=16.13.0"},"exports":{".":{"import":{"types":"./mod.d.ts","default":"./mod.js"}},"./set":{"import":{"types":"./set.d.ts","default":"./set.js"}},"./collection":{"import":{"types":"./collection.d.ts","default":"./collection.js"}}},"private":false,"scripts":{},"_npmUser":{"name":"hugoalh","email":"hugoalh@gmail.com"},"repository":{"url":"git+https://github.com/hugoalh/setation-es.git","type":"git"},"_npmVersion":"10.9.0","description":"A module to list permutations or combinations from the collection or set.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@hugoalh/sort":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.9.0"},"_npmOperationalInternal":{"tmp":"tmp/setation_2.0.0_1734684878548_0.025480527413180853","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@hugoalh/setation","version":"2.0.1","keywords":["combination","permutation","set","setation"],"author":{"name":"hugoalh"},"license":"MIT","_id":"@hugoalh/setation@2.0.1","maintainers":[{"name":"hugoalh","email":"hugoalh@gmail.com"}],"homepage":"https://github.com/hugoalh/setation-es#readme","bugs":{"url":"https://github.com/hugoalh/setation-es/issues"},"dist":{"shasum":"78ea53f25ba0a639cd8b2a7c2fc3b7980eaa4f67","tarball":"https://registry.npmjs.org/@hugoalh/setation/-/setation-2.0.1.tgz","fileCount":12,"integrity":"sha512-jebcnSspPANVI9fyEQS1qde+5edHkgWxxpT0WSqORPo7pwITsTxI/Od3AaROGzhUJCekWuWeH3I31SHdw6yaqg==","signatures":[{"sig":"MEYCIQD24+F7UUvPyShL5cDgVekebRKq8Z5U5tmIN8vuXuzhWQIhAKKV3JDMglCcBYjuNAXqGUaeSxTPq6U6OtguCNWlDhrJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hugoalh%2fsetation@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17331},"main":"./mod.js","type":"module","types":"./mod.d.ts","module":"./mod.js","engines":{},"exports":{".":{"import":{"types":"./mod.d.ts","default":"./mod.js"}},"./set":{"import":{"types":"./set.d.ts","default":"./set.js"}},"./collection":{"import":{"types":"./collection.d.ts","default":"./collection.js"}}},"private":false,"scripts":{},"_npmUser":{"name":"hugoalh","email":"hugoalh@gmail.com"},"repository":{"url":"git+https://github.com/hugoalh/setation-es.git","type":"git"},"_npmVersion":"10.9.3","description":"A module to list permutations or combinations from the collection or set.","directories":{},"_nodeVersion":"22.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.9.0"},"_npmOperationalInternal":{"tmp":"tmp/setation_2.0.1_1755512170311_0.6853478349334563","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@hugoalh/setation","version":"2.0.2","description":"A module to list permutations or combinations from the collection or set.","keywords":["combination","permutation","set","setation"],"homepage":"https://github.com/hugoalh/setation-es#readme","bugs":{"url":"https://github.com/hugoalh/setation-es/issues"},"license":"MIT","author":{"name":"hugoalh"},"type":"module","main":"./mod.js","module":"./mod.js","exports":{"./collection":{"import":{"types":"./collection.d.ts","default":"./collection.js"}},"./set":{"import":{"types":"./set.d.ts","default":"./set.js"}},".":{"import":{"types":"./mod.d.ts","default":"./mod.js"}}},"types":"./mod.d.ts","repository":{"type":"git","url":"git+https://github.com/hugoalh/setation-es.git"},"dependencies":{"@hugoalh/sort":"^0.4.0"},"devDependencies":{"@types/node":"^24.5.0"},"private":false,"publishConfig":{"access":"public"},"gitHead":"fa8fc64d45709f2a91a3464bb042fa524f478e11","_id":"@hugoalh/setation@2.0.2","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-417bvNmXr1h1Dn+cJ0k9pPd8cEstz7AAZhoKn3q5sWnWjwHPpDxgs5G2s55ZhqK9hSQfGyEINHzO+fklatTYbw==","shasum":"836f95917b25cfd139411f0662070641c5fd0e81","tarball":"https://registry.npmjs.org/@hugoalh/setation/-/setation-2.0.2.tgz","fileCount":12,"unpackedSize":16304,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hugoalh%2fsetation@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCYTcarp6BkE8/k4vrF0b8+K6IWTxwVwlnY+onBmK8XcQIhAK1C/8STZehgcAdZ6HXlYByX3SJHKgCK/J2H/3QUeKcv"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ec25808b-19e4-430b-9487-7699eb3d93d0"}},"directories":{},"maintainers":[{"name":"hugoalh","email":"hugoalh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/setation_2.0.2_1785304003761_0.1488959174110105"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-05T08:23:44.741Z","modified":"2026-07-29T05:46:44.268Z","1.0.0":"2023-04-05T08:23:44.962Z","1.1.0":"2023-04-19T05:55:14.558Z","1.2.0":"2023-06-13T08:10:30.346Z","2.0.0":"2024-12-20T08:54:38.705Z","2.0.1":"2025-08-18T10:16:10.513Z","2.0.2":"2026-07-29T05:46:43.908Z"},"bugs":{"url":"https://github.com/hugoalh/setation-es/issues"},"author":{"name":"hugoalh"},"license":"MIT","homepage":"https://github.com/hugoalh/setation-es#readme","keywords":["combination","permutation","set","setation"],"repository":{"type":"git","url":"git+https://github.com/hugoalh/setation-es.git"},"description":"A module to list permutations or combinations from the collection or set.","maintainers":[{"name":"hugoalh","email":"hugoalh@gmail.com"}],"readme":"# Setation (ES)\n\n[**⚖️** MIT](./LICENSE.md)\n\n🔗\n[DistBoard @hugoalh](https://hugoalh.github.io/distboard/setation_ecmascript)\n● [GitHub](https://github.com/hugoalh/setation-es)\n● [JSR](https://jsr.io/@hugoalh/setation)\n● [NPM](https://www.npmjs.com/package/@hugoalh/setation)\n\nAn ECMAScript module to list permutations or combinations from the collection or set.\n\n## 🎯 Runtime Targets\n\nAny runtime which support ECMAScript should able to use this; These runtimes are officially supported:\n\n- **[Bun](https://bun.sh/)** >= v1.1.0\n- **[Deno](https://deno.land/)** >= v2.1.0\n- **[NodeJS](https://nodejs.org/)** >= v20.9.0\n\n## 🛡️ Runtime Permissions\n\nThis does not request any runtime permission.\n\n## #️⃣ Sources & Entrypoints\n\n- GitHub Raw\n  ```\n  https://raw.githubusercontent.com/hugoalh/setation-es/{Tag}/mod.ts\n  ```\n- JSR\n  ```\n  jsr:@hugoalh/setation[@{Tag}]\n  ```\n- NPM\n  ```\n  npm:@hugoalh/setation[@{Tag}]\n  ```\n\n| **Name** | **Path** | **Description** |\n|:--|:--|:--|\n| `.` | `./mod.ts` | Default. |\n| `./collection` | `./collection.ts` | Collection. |\n| `./set` | `./set.ts` | Set. |\n\n> [!NOTE]\n> - Different runtimes have vary support for the sources and entrypoints, visit the runtime documentation for more information.\n> - It is recommended to include tag for immutability.\n> - These are not part of the public APIs hence should not be used:\n>   - Benchmark/Test file (e.g.: `example.bench.ts`, `example.test.ts`).\n>   - Entrypoint name or path include any underscore prefix (e.g.: `_example.ts`, `foo/_example.ts`).\n>   - Identifier/Namespace/Symbol include any underscore prefix (e.g.: `_example`, `Foo._example`).\n\n## 🧩 APIs\n\n- ```ts\n  function combinationCollection<K, V>(item: Map<K, readonly V[]>): Generator<Map<K, V>>;\n  function combinationCollection<K extends string, V>(item: Record<K, readonly V[]>): Generator<Record<K, V>>;\n  ```\n- ```ts\n  function combinationSet<T>(set: readonly T[] | Set<T>, size: number | readonly number[] | SetationSetSizeRange, options?: SetationSetOptions): Generator<T[]>;\n  ```\n- ```ts\n  function permutationSet<T>(set: readonly T[] | Set<T>, size: number | readonly number[] | SetationSetSizeRange, options?: SetationSetOptions): Generator<T[]>;\n  ```\n\n> [!NOTE]\n> - For the full or prettier documentation, can visit via:\n>   - [Deno CLI `deno doc`](https://docs.deno.com/runtime/reference/cli/doc/)\n>   - [JSR](https://jsr.io/@hugoalh/setation)\n\n## ✍️ Examples\n\n- ```js\n  const item = [\"a\", \"b\", \"c\", \"d\", \"e\", \"f\"];\n\n  Array.from(combinationSet(item, 3));\n  //=>\n  //  [\n  //    [ \"a\", \"b\", \"c\" ], [ \"a\", \"b\", \"d\" ],\n  //    [ \"a\", \"b\", \"e\" ], [ \"a\", \"b\", \"f\" ],\n  //    [ \"a\", \"c\", \"d\" ], [ \"a\", \"c\", \"e\" ],\n  //    [ \"a\", \"c\", \"f\" ], [ \"a\", \"d\", \"e\" ],\n  //    [ \"a\", \"d\", \"f\" ], [ \"a\", \"e\", \"f\" ],\n  //    [ \"b\", \"c\", \"d\" ], [ \"b\", \"c\", \"e\" ],\n  //    [ \"b\", \"c\", \"f\" ], [ \"b\", \"d\", \"e\" ],\n  //    [ \"b\", \"d\", \"f\" ], [ \"b\", \"e\", \"f\" ],\n  //    [ \"c\", \"d\", \"e\" ], [ \"c\", \"d\", \"f\" ],\n  //    [ \"c\", \"e\", \"f\" ], [ \"d\", \"e\", \"f\" ]\n  //  ]\n\n  Array.from(permutationSet(item, 3));\n  //=>\n  //  [\n  //    [ \"a\", \"b\", \"c\" ], [ \"a\", \"b\", \"d\" ],\n  //    [ \"a\", \"b\", \"e\" ], [ \"a\", \"b\", \"f\" ],\n  //    [ \"a\", \"c\", \"b\" ], [ \"a\", \"c\", \"d\" ],\n  //    [ \"a\", \"c\", \"e\" ], [ \"a\", \"c\", \"f\" ],\n  //    [ \"a\", \"d\", \"b\" ], [ \"a\", \"d\", \"c\" ],\n  //    [ \"a\", \"d\", \"e\" ], [ \"a\", \"d\", \"f\" ],\n  //    [ \"a\", \"e\", \"b\" ], [ \"a\", \"e\", \"c\" ],\n  //    [ \"a\", \"e\", \"d\" ], [ \"a\", \"e\", \"f\" ],\n  //    [ \"a\", \"f\", \"b\" ], [ \"a\", \"f\", \"c\" ],\n  //    [ \"a\", \"f\", \"d\" ], [ \"a\", \"f\", \"e\" ],\n  //    [ \"b\", \"a\", \"c\" ], [ \"b\", \"a\", \"d\" ],\n  //    [ \"b\", \"a\", \"e\" ], [ \"b\", \"a\", \"f\" ],\n  //    [ \"b\", \"c\", \"a\" ], [ \"b\", \"c\", \"d\" ],\n  //    [ \"b\", \"c\", \"e\" ], [ \"b\", \"c\", \"f\" ],\n  //    [ \"b\", \"d\", \"a\" ], [ \"b\", \"d\", \"c\" ],\n  //    [ \"b\", \"d\", \"e\" ], [ \"b\", \"d\", \"f\" ],\n  //    [ \"b\", \"e\", \"a\" ], [ \"b\", \"e\", \"c\" ],\n  //    [ \"b\", \"e\", \"d\" ], [ \"b\", \"e\", \"f\" ],\n  //    [ \"b\", \"f\", \"a\" ], [ \"b\", \"f\", \"c\" ],\n  //    [ \"b\", \"f\", \"d\" ], [ \"b\", \"f\", \"e\" ],\n  //    ... +80\n  //  ]\n  ```\n- ```js\n  Array.from(combinationCollection({ foo: [1, 2, 3], bar: [4, 5, 6] }));\n  //=>\n  //  [\n  //    { foo: 1, bar: 4 }, { foo: 1, bar: 5 },\n  //    { foo: 1, bar: 6 }, { foo: 2, bar: 4 },\n  //    { foo: 2, bar: 5 }, { foo: 2, bar: 6 },\n  //    { foo: 3, bar: 4 }, { foo: 3, bar: 5 },\n  //    { foo: 3, bar: 6 }\n  //  ]\n  ```\n","readmeFilename":"README.md"}