Generate random values, includes intenegers, floats and boolean values.
This is module will work in both client side and server side
npm i random-generate
No dependencies
const Random = require('random-generate')
// int related
Random.int() // 57
Random.int(5, 600) // 430
// float related
Random.float() // 43.2
Random.float(5, 600) // 292.4
Random.float(5, 600, 4) // 438.9023
// boolean related
Random.boolean() // false