UNPKG

@mothepro/fancy-p2p

Version:

A quick and efficient way to form p2p groups in the browser

6 lines (5 loc) 249 B
/** * Yields a random integer using Multiply with carry PRNG within [-2 ** 31, 2 ** 31). * https://en.wikipedia.org/wiki/Multiply-with-carry_pseudorandom_number_generator */ export default function (seed: number): Generator<number, never, void>;