3.1.0 • Published 8 years ago
meetup-randomizer v3.1.0
meetup-randomizer
:twisted_rightwards_arrows: Library that chooses random persons from a Meetup's event. It can be executed as a CLI or as any other npm module (including client-side implementations).
Demo

Instalation
npm i meetup-randomizerUse
- As a CLI:
# 1
meetup-randomizer --meetup-name 'banodejs' --event-id '231888421' --winners-amount 2
# 2
meetup-randomizer --url 'www.meetup.com/banodejs/events/231097952/' --winners-amount 2- As any other npm module (including client-side implementations):
const meetupRandomizer = require('meetup-randomizer')
meetupRandomizer('banodejs', '231888421', 2)
.then(winners => console.log)
.catch(error => console.error)How it works
- It uses the Meetup API to get the list of RSVPs.
- It excludes the hosts members.
- It excludes the non-confirmed attendees.
- It returns an array of random winners.
In the case of the CLI, it shows the winner's picture into the console.
Contributors
| Cristhian Duran💻 📖 | Alejandro Oviedo💻 📖 | Justin Hall💻 |
|---|
This project follows the all-contributors specification.
License
MIT
3.1.0
8 years ago
3.0.0
8 years ago
2.10.0
9 years ago
2.9.0
9 years ago
2.8.0
9 years ago
2.7.1
10 years ago
2.7.0
10 years ago
2.6.1
10 years ago
2.6.0
10 years ago
2.5.0
10 years ago
2.4.0
10 years ago
2.3.0
10 years ago
2.2.0
10 years ago
2.1.1
10 years ago
2.1.0
10 years ago
2.0.2
10 years ago
2.0.1
10 years ago
2.0.0
10 years ago
1.0.4
10 years ago
1.0.0
10 years ago