Skip to content
Create a poll with gh-polls
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
.travis.yml
gh-polls.png
index.js
license
package.json
readme.md
test.js
yarn.lock

readme.md

gh-polls Build Status

Create a poll with gh-polls

Install

$ yarn add gh-polls

Usage

const ghPolls = require('gh-polls')

const options = ["Tobi", "Loki", "Jane"]
await ghPolls(options)

About

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.

API

ghPolls([options])

Returns a promise

options

Type: array Required

Array of options (string).

Related

License

MIT © Bu Kinoshita

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.