{"id":16092373,"url":"https://github.com/bukinoshita/gh-polls","last_synced_at":"2025-03-16T08:32:21.795Z","repository":{"id":39458969,"uuid":"109404639","full_name":"bukinoshita/gh-polls","owner":"bukinoshita","description":"Create a poll with gh-polls","archived":false,"fork":false,"pushed_at":"2023-01-06T01:45:37.000Z","size":1286,"stargazers_count":45,"open_issues_count":10,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-27T05:55:52.213Z","etag":null,"topics":["apex","gh","gh-poll","gh-polls","poll","polls","up"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bukinoshita.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":"2017-11-03T14:23:43.000Z","updated_at":"2024-03-02T13:57:40.000Z","dependencies_parsed_at":"2023-02-05T02:02:03.869Z","dependency_job_id":null,"html_url":"https://github.com/bukinoshita/gh-polls","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fgh-polls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fgh-polls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fgh-polls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fgh-polls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bukinoshita","download_url":"https://codeload.github.com/bukinoshita/gh-polls/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806070,"owners_count":20350775,"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":["apex","gh","gh-poll","gh-polls","poll","polls","up"],"created_at":"2024-10-09T16:07:42.022Z","updated_at":"2025-10-14T12:10:28.517Z","avatar_url":"https://github.com/bukinoshita.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-polls\n\n\u003e Create a poll with gh-polls\n\n## Install\n\n```bash\n$ yarn add gh-polls\n```\n\n## Usage\n\n```js\nimport { ghPolls } from 'gh-polls'\n\nconst options = ['Tobi', 'Loki', 'Jane']\nawait ghPolls(options)\n```\n\n[![](https://api.gh-polls.com/poll/01BM2ZHFZXYKQV9N3HNFXCBH3N/Tobi)](https://api.gh-polls.com/poll/01BM2ZHFZXYKQV9N3HNFXCBH3N/Tobi/vote)\n[![](https://api.gh-polls.com/poll/01BM2ZHFZXYKQV9N3HNFXCBH3N/Loki)](https://api.gh-polls.com/poll/01BM2ZHFZXYKQV9N3HNFXCBH3N/Loki/vote)\n[![](https://api.gh-polls.com/poll/01BM2ZHFZXYKQV9N3HNFXCBH3N/Jane)](https://api.gh-polls.com/poll/01BM2ZHFZXYKQV9N3HNFXCBH3N/Jane/vote)\n\n## About\n\n\u003cimg src=\"https://i.imgur.com/M8UCMG8.png\" /\u003e\n\n`gh-polls (js)` is a node module that returns an `object` with 3 keys `text`, `vote` and `image`. [Tj](https://github.com/tj) created [gh-polls (go)](https://github.com/apex/gh-polls) to be able to use polls on GitHub. With `gh-polls (js)` you can create polls outside GitHub, for example on your own website.\n\n## API\n\n### ghPolls([options])\n\nReturns a `promise`\n\n#### options\n\nType: `array`\nRequired\n\nArray of options (string).\n\n## Related\n\n- [apex/gh-polls](https://github.com/apex/gh-polls) – polls for user feedback in GitHub issues\n- [apex/up](https://github.com/apex/up) – the serverless webapp tool powering gh-polls\n- [Web App](https://app.gh-polls.com/) – GH polls web app\n- [GitHub App](https://github.com/apps/polls) – GH polls bot\n\n## License\n\nMIT © [Bu Kinoshita](https://bukinoshita.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbukinoshita%2Fgh-polls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbukinoshita%2Fgh-polls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbukinoshita%2Fgh-polls/lists"}