uint-rng
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i uint-rng

Weekly Downloads

861

Version

1.2.0

License

none

Unpacked Size

6.49 kB

Total Files

10

Last publish

Collaborators

  • fabiospampinato