totally-fair-rng

1.0.1 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.12latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.12
1.0.00

Package Sidebar

Install

npm i totally-fair-rng

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

1.64 kB

Total Files

3

Last publish

Collaborators

  • hoten