Nefarious Pickle Muncher
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

gh-polls

1.0.2 • Public • Published

gh-polls Build Status

Create a poll with gh-polls

Install

$ yarn add gh-polls

Usage

const ghPolls = require('gh-polls')
 
const options = ["Toki", "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).

License

MIT © Bu Kinoshita

install

npm i gh-polls

Downloadsweekly downloads

1

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability