Showing 1-20 of 138,164 packages
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
Get an available port
Random numbers.
Fast JavaScript array sorting by implementing Python's Timsort algorithm
Generate random numbers from various distributions.
Get a random item from an array
URL and cookie safe UIDs
Generate a cryptographically strong random string
`window.crypto.getRandomValues` with fallback to Node.js crypto
[](https://discord.gg/poimandres)
Constructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.
RFC9562 UUIDs
Use the random function in CSS
Typical random-related functions for JavaScript.
Random utility functions for ethers.
Create an array containing pseudorandom numbers drawn from a continuous uniform distribution.