Create a poll with gh-polls
$ yarn add gh-polls
import { ghPolls } from 'gh-polls'
const options = ['Tobi', 'Loki', 'Jane']
await ghPolls(options)
gh-polls (js)
is a node module that returns an object
with 3 keys text
, vote
and image
. Tj created gh-polls (go) to be able to use polls on GitHub. With gh-polls (js)
you can create polls outside GitHub, for example on your own website.
Returns a promise
Type: array
Required
Array of options (string).
- apex/gh-polls – polls for user feedback in GitHub issues
- apex/up – the serverless webapp tool powering gh-polls
- Web App – GH polls web app
- GitHub App – GH polls bot
MIT © Bu Kinoshita