Nocturnal Programmer's Machine

    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

    Keywords

    none

    Install

    npm i totally-fair-rng

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    1.64 kB

    Total Files

    3

    Last publish

    Collaborators

    • hoten