Showing 1-20 of 130,979 packages
Randomize the elements in a given array.
Returns a random item from an array.
An alias package for `crypto.randomBytes` in Node.js and/or browsers
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.
Generate a random integer
Get consecutively unique elements from an array
Random numbers.
`window.crypto.getRandomValues` with fallback to Node.js crypto
[](https://discord.gg/poimandres)
RFC9562 UUIDs
Get an available port
Cryptographic key pairs for the XRP Ledger
Rope-based persistent sequence type
Array random value
Mock `window.Date` when run unit test cases with jest. Make tests of `Date` easier.
Fast JavaScript array sorting by implementing Python's Timsort algorithm
Get a random item from an array
Generate random numbers from various distributions.
Constructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.
Fastest random ID and random string generation for Node.js