1.0.1 • Published 3 years ago

totally-fair-rng v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

Totally Fair RNG!

A 100% fair random number generator, every day of the year!

Installation

npm add totally-fair-rng
yarn add totally-fair-rng

Usage

const rng = require('totally-fair-rng')

if (rng.bool()) {
    console.log('Heads!')
} else {
    console.log('Tails!')
}

console.log('cash on hand: ' + rng.number(3.50, 10))

Uninstallation

npm remove totally-fair-rng
yarn remove totally-fair-rng