This is a package that provides a function which takes in a array and a number and outputs a array with the given number of random elements from the array.
Array manipulation, ordering, searching, summarizing, etc.
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
Rope-based persistent sequence type
Get consecutively unique elements from an array
An alias package for `crypto.randomBytes` in Node.js and/or browsers
Random numbers.
Returns an array of all tabbable DOM nodes within a containing node.
Get a random item from an array
utilities for primitive JavaScript types
TypeScript definitions for shuffle-array
[](https://discord.gg/poimandres)
A fast implementation of a fisher-yates shuffle that does not mutate the source array.
`window.crypto.getRandomValues` with fallback to Node.js crypto
An iterator to iterate an array in random order with controls to requeue or dequeue elements during the iteration
RFC9562 UUIDs
Choose randomly from a selection of elements
Get an available port
Highlight DOM nodes within your stories
Cryptographic key pairs for the XRP Ledger
Fast JavaScript array sorting by implementing Python's Timsort algorithm
An RxJS map operator that takes an observable of arrays as input and emits arrays where each element represents emissions from the projected observable.
Array module.
Return randomized data from arrays and hashes. The randeaux methods takes two arguments: the data structure you wish to sample and an optional argument for the number of elements you wish to be returned. By default, randeaux will return one random element.
Simple gem for Ruby which extends Array class, and gave possibility to pick element from it at random, however with certain probability (probability is given for each element). Adds the get_rand function to array class, which take array of chances as arguments (for example [1,2,3].get_rand([3,4,5]))
defines Array#riffle to merge multiple arrays as if riffling a deck of cards.
A Seq is created with an array, and optionally a number of elements to return, an offset to start at and a default item to return when ended. Call #next to return the next item. A Seq::Random will return randomly selected elements from the array. A Seq::Lazy will lazily evaluate a block to get the next element.
No description provided.
No description provided.