Skip to content

connorjclark/totally-fair-rng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published