A package providing function generating integer numbers with uniform distribution in the range from Number.MIN_SAFE_INTEGER to Number.MAX_SAFE_INTEGER
Get a random integer number quickly
Get a random integer number within a range, between two numbers min and max.
Get a random integer number quickly
Generate a random integer
A functional typescript implementation of the PCG family random number generators
Get a random integer number quickly
Fastest random ID and random string generation for Node.js
A small implementation of `crypto.getRandomValues` for React Native. This is useful to polyfill for libraries like [uuid](https://www.npmjs.com/package/uuid) that depend on it.
An arbitrary length integer library for Javascript
JavaScript implementation of the XORSHIFT-ADD (XSadd) pseudo random number generator
Generate random numbers from various distributions.
A Long class for representing a 64-bit two's-complement integer value.
TypeScript definitions for random-number-csprng
Port of the OpenBSD bcrypt_pbkdf function to pure JS
Useful TypeScript utilities.
TypeScript definitions for mersennetwister
A library for arbitrary-precision decimal and non-decimal arithmetic
A Long class for representing a 64-bit two's-complement integer value.
Add support for more integer widths to Buffer
Seedable random number generator supporting many common distributions.
Statistical routines and probability distributions.
URL and cookie safe UIDs
Pure-JS printf
generate random numbers that sum up to a given integer
A generator of random numbers. Implemented as a built-in Integer class' method. Generates an array of specified quantity of random numbers. Generated numbers may repeat or may not repeat - it is configurable. You can set a range of numbers from which to generate by defining the beggining and the end of the range. Ruby's Random class is used as generator. Tested.
Miscellaneous methods that may or may not be useful. sh:: Safely pass untrusted parameters to sh scripts. Raise an exception if the script returns a non-zero value. fork_and_check:: Run a block in a forked process and raise an exception if the process returns a non-zero value. do_and_exit, do_and_exit!:: Run a block. If the block does not run exit!, a successful exec or equivalent, run exit(1) or exit!(1) ourselves. Useful to make sure a forked block either runs a successful exec or dies. Any exceptions from the block are printed to standard error. overwrite:: Safely replace a file. Writes to a temporary file and then moves it over the old file. tempname_for:: Generates an unique temporary path based on a filename. The generated filename resides in the same directory as the original one. try_n_times:: Retries a block of code until it succeeds or a maximum number of attempts (default 10) is exceeded. Exception#to_formatted_string:: Return a string that looks like how Ruby would dump an uncaught exception. IO#best_datasync:: Try fdatasync, falling back to fsync, falling back to flush. Random#exp:: Return a random integer 0 ≤ n < 2^argument (using SecureRandom). Random#float:: Return a random float 0.0 ≤ n < argument (using SecureRandom). Random#int:: Return a random integer 0 ≤ n < argument (using SecureRandom). Password:: A small wrapper for String#crypt that does secure salt generation and easy password verification.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.