Skip to content

hornta/random

Repository files navigation

Random

npm (scoped) npm bundle size (scoped)

Pseudo random number generator which can be seeded and restarted from a random state.

Install

npm install @hornta/random

Usage

import { Random } from "@hornta/random";

const generator = new Random("seed");
generator.next();