secretsanta
v1.0.1
Published
better than a hat!
Downloads
5
Readme
SecretSanta
A method to assign secret santas!
Useage
Commandline:
Save your names in names.txt
, each on a separate line.
npm start
Output is written to output/
directory. Each file is named for the assigned giver and contains the associated reciever.
As a module:
var secretSanta = require('secretsanta');
var names = ['Alice','Bob','Eve']//...
console.log(secretSanta(names));