Socket
Socket
Sign inDemoInstall

fairdraw

Package Overview
Dependencies
52
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fairdraw

Uses the NIST beacon to randomly draw lots


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
9.85 MB
Created
Weekly downloads
 

Readme

Source

Fairdraw

Node.js command-line tool for determining a fair ordering of participants. Use as an overengineered way to draw lots/short straws.

Uses the NIST Randomness beacon (refreshed every minute) for maximum fairness to ensure nobody gets mad about someone gaming the system.

Installation and Usage

git clone https://github.com/colophonemes/fairdraw && cd fairdraw
node index

Then, at the prompt, enter a comma separated list of names:

? Enter the names of all participants, separated by commas Sam, Tara, Will

Be amazed at your results!

Tara is 1st
Will is 2nd
Sam is 3rd

License

ISC / WTFPL

FAQs

Last updated on 04 Jan 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc