Nuns Practicing Misanthropy

park-miller

1.0.0 • Public • Published

park-miller Build Status

Park-Miller pseudorandom number generator (PRNG)

Install

$ npm install park-miller

Usage

const ParkMiller = require('park-miller');
 
const random = new ParkMiller(10);
 
random.integer();
//=> 2027521326

API

const random = new ParkMiller(seed)

seed

Type: integer

Initialization seed.

random.integer()

random.integerInRange(min, max)

random.float()

random.floatInRange(min, max)

random.boolean()

Related

  • randoma - User-friendly pseudorandom number generator (PRNG)

License

MIT © Sindre Sorhus

install

npm i park-miller

Downloadsweekly downloads

305

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability