1.2.0 • Published 9 months ago

uint-rng v1.2.0

Weekly downloads
-
License
-
Repository
github
Last release
9 months ago

Uint RNG

A tiny isomorphic Random Number Generator for generating 1/8/16/32/64-bits unsigned integers.

Install

npm install --save uint-rng

Usage

import RNG from 'uint-rng';

RNG.get1 (); // => 0
RNG.get8 (); // => 72
RNG.get16 (); // => 23291
RNG.get32 (); // => 1129029
RNG.get64 (); // => 16020485623009486818n

License

MIT © Fabio Spampinato