Natural Pleistocene Monsters

    @combinatorics/n-combinations

    1.0.0 • Public • Published

    🦛 @combinatorics/n-combinations

    Set n-combinations for JavaScript. See docs.

    ⚠️ 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
    
    import {range} from '@iterable-iterator/range';
    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

    Install

    npm i @combinatorics/n-combinations

    DownloadsWeekly Downloads

    9

    Version

    1.0.0

    License

    AGPL-3.0

    Unpacked Size

    497 kB

    Total Files

    14

    Last publish

    Collaborators

    • avatar