Showing 1-20 of 1,929,867 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
Simple JavaScript random array element chooser with percentage weight|chance support
Random numbers.
RFC9562 UUIDs
`window.crypto.getRandomValues` with fallback to Node.js crypto
Get an available port
Rope-based persistent sequence type
Cryptographic key pairs for the XRP Ledger
[](https://discord.gg/poimandres)
Mock `window.Date` when run unit test cases with jest. Make tests of `Date` easier.
Random integer, Random array element, Random string, Random boolean with given probability, Random offset of numerical
TypeScript definitions for d3-random
Fastest random ID and random string generation for Node.js
Constructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.
Fast JavaScript array sorting by implementing Python's Timsort algorithm
Get a random item from an array