gh-polls
Create a poll with gh-polls
Last updated 7 months ago by bukinoshita .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install gh-polls 
SYNC missed versions from official npm registry.

gh-polls

Create a poll with gh-polls

Install

$ yarn add gh-polls

Usage

import { ghPolls } from '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

Current Tags

  • 1.1.0                                ...           latest (7 months ago)

5 Versions

  • 1.1.0                                ...           7 months ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 2
Dependencies (1)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |