vote-infer

1.0.0 • Public • Published

vote-infer

Infer actual number of votes based on the percentage of each voting options.

npm Package Version

Usage Example

Giving percentage:

> npx vote-infer 71 38
Total 21 votes
#1 71% 15/21
#2 38% 8/21

Or giving rate:

> npx vote-infer 0.56 0.42
Total 36 votes
#1 56% 20/36
#2 42% 15/36

License

This project is licensed with BSD-2-Clause

This is free, libre, and open-source software. It comes down to four essential freedoms [ref]:

  • The freedom to run the program as you wish, for any purpose
  • The freedom to study how the program works, and change it so it does your computing as you wish
  • The freedom to redistribute copies so you can help others
  • The freedom to distribute copies of your modified versions to others

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2
  • 0.0.0
    0

Package Sidebar

Install

npm i vote-infer

Weekly Downloads

2

Version

1.0.0

License

BSD-2-Clause

Unpacked Size

4.39 kB

Total Files

5

Last publish

Collaborators

  • beenotung