Seeded random number generator using a linear congruential generator. This is NOT cryptographically secure.
$ npm install @f/srand
varsrand=require('@f/srand')varrand=srand(4)rand()rand()rand()seed- RNG seed. May be integer or string.
Returns: A function that, when called, generates the next random number in the sequence.
MIT