A replacement for Math.random() that is tiny, fast, seedable, and has good statistical properties.
npm install best-randomMath.random() that is tiny, fast, seedable, and has good statistical properties.
npm i best-random --save
`
Usage
`js
const { Random } = require("best-random");
const rnd = new Random(/ seed: / 42); // New PRNG w/seed 42
console.log(rnd.float64()); // Always prints '0.60829943369486'
console.log(rnd.uint32()); // Always prints '803767485'
console.log(rnd.uint53()); // Always prints '6835035088404228'
``