1.0.1 • Published 4 years ago

randomer.js v1.0.1

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

randomer.js

select a random thing in an array

    const randomer = require("randomer.js");

    var test = [
        "hello",
        "hi",
        "other stuff"
    ]

    console.log(randomer.array(test))

random number

select a random number from 0 to the number selected

    const randomer = require("randomer.js");

    console.log(randomer.number(100))