Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 383 Bytes

readme.md

File metadata and controls

25 lines (17 loc) · 383 Bytes

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