randomer.js

1.0.1 • Public • Published

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))

Package Sidebar

Install

npm i randomer.js

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

1.27 kB

Total Files

3

Last publish

Collaborators

  • sudocode1