@rojo2/random-pick

1.0.1 • Public • Published

Random Pick

Travis CI

import randomPick from "@rojo2/random-pick";

const listOfNumbers = [1,2,3,4];
const number = randomPick(listOfNumbers); // random value from listOfNumbers 

Made with ❤️ by ROJO 2 (http://rojo2.com)

/@rojo2/random-pick/

    Package Sidebar

    Install

    npm i @rojo2/random-pick

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.76 kB

    Total Files

    5

    Last publish

    Collaborators

    • aitormm
    • azazeln28