Skip to content

computational-combinatorics/n-combinations

Repository files navigation

Set n-combinations for JavaScript. See docs.

🏗️ Caveat emptor! This is work in progress. Code may be working. Documentation may be present. Coherence may be. Maybe.

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

import {combinations} from '@combinatorics/n-combinations';

combinations("ABCD", 2); // AB AC AD BC BD CD
combinations(range(4), 3); // 012 013 023 123

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

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

About

🦛 Set n-combinations for JavaScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •