Meetup Lucky Winner Generator

A simple package with zero dependencies for generating lucky winners if there is a free coupon giveaway at a Meetup event!

Website

Check out the website for quick use.

Usage

Install dotenv

Add a .env file

file Add your API_KEY (can get it here), MEETUP , EVENT_ID , and NUMBER_OF_WINNERS to the .env file

(can get it here), , , and to the file Require the module in your files

Call the generateOneLuckyWinner , generateThreeLuckyWinners , or generateCustomLuckyWinners methods with the appropriate options to get name(s) returned

Note: All values can be added without the use of a .env file, but for security reasons, try to keep your API_KEY in the .env .

Sample

Install the module.

$ npm i --save meetup-lucky-winner-generator

Add this to the app.js .