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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.10latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.10
1.0.00

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