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

Readme

Keywords

Package Sidebar

Install

npm i @rojo2/random-index

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

4.27 kB

Total Files

5

Last publish

Collaborators

  • aitormm
  • azazeln28