@envisim/random
v0.2.0
Published
Random number generation utilties
Readme
@envisim/random
A TypeScript library with a seedable high-entropy random number generator.
Implements the Gibson Research Corporations UHE PRNG algorithm.
Installation
npm install @envisim/randomUsage
import { Random } from "@envisim/random";
// Example usage with seed
const rand = new Random(12345);
rand.random(); // Generate a random float on the interval [0, 1)