Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 2.95 KB

README.md

File metadata and controls

31 lines (25 loc) · 2.95 KB

Set n-multicombinations for JavaScript. See docs.

⚠️ Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {multicombinations} from '@combinatorics/n-multicombinations';
multicombinations("ABC", 1); // A B C

import {range} from '@iterable-iterator/range';
multicombinations(range(3), 2); // 00 01 02 11 12 22

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size