Skip to content

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

License

Notifications You must be signed in to change notification settings

fabiospampinato/uint-rng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published