Don't use this please....
MIT License
You need to get a random number.
This is a function that calls Math.random()
. This is just a temporary package
used for educational purposes.
This module is distributed via npm which is bundled with node and
should be installed as one of your project's dependencies
:
npm install --save @kentcdodds/tmp-random-number-2
const randomNumber = require('@kentcdodds/tmp-random-number-2')
console.log(randomNumber(0, 1)) // logs a random number between 0 and 1
This package was inspired by random awesomeness.
I'm not aware of any.
MIT