Skip to content
/ random Public

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

Notifications You must be signed in to change notification settings

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();