1.0.1 • Published 9 years ago

secretsanta v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

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));