Showing 1-20 of 138,153 packages
Return a random array-like index.
Get consecutively unique elements from an array
An iterator to iterate an array in random order with controls to requeue or dequeue elements during the iteration
Create an array containing pseudorandom numbers drawn from a continuous uniform distribution.
Constructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.
Constructor for creating arrays filled with pseudorandom values drawn from a binary PRNG.
Create an array containing pseudorandom numbers drawn from a discrete uniform distribution.
Create a factory function for generating pseudorandom values drawn from a binary PRNG.
Create an array containing pseudorandom numbers drawn from a Bernoulli distribution.
An alias package for `crypto.randomBytes` in Node.js and/or browsers
Constructor for creating arrays filled with pseudorandom values drawn from a unary PRNG.
Get unique random array from an array
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.
Create a factory function for generating pseudorandom values drawn from a unary PRNG.
Generate a random integer
Efficiently select unique, non-repeating random elements from arrays with @smakss/random-array-element. Ideal for varied applications needing random but exhaustive array item selection.
Get an available port
Random numbers.
Create an array containing pseudorandom numbers drawn from a normal distribution.
Fast JavaScript array sorting by implementing Python's Timsort algorithm