Seeded random number generator using a linear congruential generator. This is NOT cryptographically secure.
$ npm install @f/srand
var srand = require('@f/srand')
var rand = 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