1.0.2 • Published 2 years ago

mingler-1-on-1 v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Mingler Engine for 1:1's

A library to help you create rounds of 1:1's until everyone in a group has met.

Usage

Installation

npm install --save-dev @joncottrell/mingler-1-on-1 or yarn add --dev @joncottrell/mingler-1-on-1

Getting all meeting rounds

import { rounds } from "mingler-1-on-1";
...
rounds(["Jonathan Cottrell", "Trevor Appleseed", "Lucy Doe", "Granny Smith"])

Results

[
  [
    [
      "Jonathan Cottrell",
      "Trevor Appleseed"
    ],
    [
      "Lucy Doe",
      "Granny Smith"
    ]
  ],
  [
    [
      "Jonathan Cottrell",
      "Lucy Doe"
    ],
    [
      "Trevor Appleseed",
      "Granny Smith"
    ]
  ],
  [
    [
      "Jonathan Cottrell",
      "Granny Smith"
    ],
    [
      "Trevor Appleseed",
      "Lucy Doe"
    ]
  ]
]