Showing 1-20 of 1,935,144 packages
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.
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.
Simple JavaScript random array element chooser with percentage weight|chance support
Fast JavaScript array sorting by implementing Python's Timsort algorithm
Generate a cryptographically strong random string
Generate random numbers from various distributions.
RFC9562 UUIDs
`window.crypto.getRandomValues` with fallback to Node.js crypto
Array manipulation, ordering, searching, summarizing, etc.
Random utility functions for ethers.
Constructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.
Get a random item from an array
Rope-based persistent sequence type
Use the random function in CSS
URL and cookie safe UIDs