README
Motivation
All your random needs in one place.
Get started
Install
npm install --save random-fns
# or
yarn add random-fns
Use
import { random } from 'random-fns'
console.log(random()) // equivalent to Math.random
All your random needs in one place.
<script type="module">
import randomFns from 'https://cdn.skypack.dev/random-fns';
</script>
All your random needs in one place.
Install
npm install --save random-fns
# or
yarn add random-fns
Use
import { random } from 'random-fns'
console.log(random()) // equivalent to Math.random