Skip to content

computational-combinatorics/n-multicombinations

Repository files navigation

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