{"id":13630685,"url":"https://github.com/durancristhian/meetup-randomizer","last_synced_at":"2025-04-04T16:33:06.484Z","repository":{"id":57294180,"uuid":"59161581","full_name":"durancristhian/meetup-randomizer","owner":"durancristhian","description":"Console application that chooses random persons from a Meetup's event.","archived":false,"fork":false,"pushed_at":"2020-06-02T15:53:55.000Z","size":1004,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-20T16:15:30.420Z","etag":null,"topics":["meetup","random","winner"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/durancristhian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-19T00:44:56.000Z","updated_at":"2019-08-26T20:32:13.000Z","dependencies_parsed_at":"2022-08-29T09:50:50.043Z","dependency_job_id":null,"html_url":"https://github.com/durancristhian/meetup-randomizer","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durancristhian%2Fmeetup-randomizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durancristhian%2Fmeetup-randomizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durancristhian%2Fmeetup-randomizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/durancristhian%2Fmeetup-randomizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/durancristhian","download_url":"https://codeload.github.com/durancristhian/meetup-randomizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246823911,"owners_count":20839793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["meetup","random","winner"],"created_at":"2024-08-01T22:01:54.666Z","updated_at":"2025-04-04T16:33:06.206Z","avatar_url":"https://github.com/durancristhian.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# meetup-randomizer\n\n[![npm version](https://img.shields.io/npm/v/meetup-randomizer.svg)](https://www.npmjs.com/package/meetup-randomizer)\n[![Travis branch](https://img.shields.io/travis/durancristhian/meetup-randomizer/master.svg?maxAge=2592000)](https://travis-ci.org/durancristhian/meetup-randomizer)\n[![Dependency Status](https://dependencyci.com/github/durancristhian/meetup-randomizer/badge)](https://dependencyci.com/github/durancristhian/meetup-randomizer)\n[![node](https://img.shields.io/node/v/meetup-randomizer.svg?maxAge=2592000)](https://www.npmjs.com/package/meetup-randomizer)\n\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?maxAge=2592000)](http://standardjs.com/)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/durancristhian/meetup-randomizer.svg)](https://greenkeeper.io/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?maxAge=2592000)](http://makeapullrequest.com)\n[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors)\n[![license](https://img.shields.io/github/license/durancristhian/meetup-randomizer.svg)](https://github.com/durancristhian/meetup-randomizer/blob/master/LICENSE)\n\n: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).\n\n## Demo\n\n![meetup-randomizer](https://raw.githubusercontent.com/durancristhian/meetup-randomizer/master/images/meetup-randomizer-demo.gif)\n\n## Instalation\n\n```bash\nnpm i meetup-randomizer\n```\n\n## Use\n\n* As a **CLI**:\n\n```bash\n# 1\nmeetup-randomizer --meetup-name 'banodejs' --event-id '231888421' --winners-amount 2\n# 2\nmeetup-randomizer --url 'www.meetup.com/banodejs/events/231097952/' --winners-amount 2\n```\n\n* As any other **npm module** (including *client-side* implementations):\n\n```javascript\nconst meetupRandomizer = require('meetup-randomizer')\n\nmeetupRandomizer('banodejs', '231888421', 2)\n  .then(winners =\u003e console.log)\n  .catch(error =\u003e console.error)\n```\n\n## How it works\n\n1. It uses the [Meetup API](http://www.meetup.com/meetup_api/) to get the list of RSVPs.\n1. It excludes the hosts members.\n1. It excludes the non-confirmed attendees.\n1. It returns an array of random winners.\n\nIn the case of the **CLI**, it shows the winner's picture into the console.\n\n## Contributors\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n| [\u003cimg src=\"https://avatars.githubusercontent.com/u/4248944?v=3\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eCristhian Duran\u003c/b\u003e\u003c/sub\u003e](https://github.com/durancristhian)\u003cbr /\u003e[💻](https://github.com/durancristhian/meetup-randomizer/commits?author=durancristhian \"Code\") [📖](https://github.com/durancristhian/meetup-randomizer/commits?author=durancristhian \"Documentation\") | [\u003cimg src=\"https://avatars.githubusercontent.com/u/2440935?v=3\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAlejandro Oviedo\u003c/b\u003e\u003c/sub\u003e](https://github.com/a0viedo)\u003cbr /\u003e[💻](https://github.com/durancristhian/meetup-randomizer/commits?author=a0viedo \"Code\") [📖](https://github.com/durancristhian/meetup-randomizer/commits?author=a0viedo \"Documentation\") | [\u003cimg src=\"https://avatars.githubusercontent.com/u/1288694?v=3\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJustin Hall\u003c/b\u003e\u003c/sub\u003e](https://github.com/wKovacs64)\u003cbr /\u003e[💻](https://github.com/durancristhian/meetup-randomizer/commits?author=wKovacs64 \"Code\") |\n| :---: | :---: | :---: |\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdurancristhian%2Fmeetup-randomizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdurancristhian%2Fmeetup-randomizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdurancristhian%2Fmeetup-randomizer/lists"}