@rojo2/random-index

1.0.2 • Public • Published

Random Index

Travis CI

import randomIndex from "@rojo2/random-index";

const index = randomIndex([1,2,3,4]) // index will be between 0 and 3

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.20latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @rojo2/random-index

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

4.27 kB

Total Files

5

Last publish

Collaborators

  • aitormm
  • azazeln28