@glennreyes/secretsanta

1.0.0-alpha.1Β β€’Β PublicΒ β€’Β Published

Secret Santa

πŸŽ… Simple secret santa draw

Installation

yarn add @glennreyes/secretsanta

Usage

const drawSecretSanta = require('@glennreyes/secretsanta');

drawSecretSanta(['Glenn', 'Charmaine', 'Nolan']);
// Returns random selections, eg:
// [
//   { giver: 'Nolan', recipient: 'Charmaine' },
//   { giver: 'Charmaine', recipient: 'Glenn' },
//   { giver: 'Glenn', recipient: 'Nolan' },
// ]

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @glennreyes/secretsanta

Weekly Downloads

0

Version

1.0.0-alpha.1

License

MIT

Unpacked Size

3.7 kB

Total Files

5

Last publish

Collaborators

  • glennreyes