reliable-random
This is an implementation of the PCG PRNG in typescript. The advantages of this generator are outlined in more detail on their website, but here are a few:
yarn install reliable-random
The main draw for this package is the ability to produce random numbers from a user-defined seed.
The PCG implementation also allows multiple different streams of random numbers from the same seed. This can be very helpful when creating games with a random element to them (roguelike games for example) because the seeds can easily be shared with others.
Generated using TypeDoc