Given an array, return a random value from it
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
[](https://discord.gg/poimandres)
Rope-based persistent sequence type
A fast implementation of a fisher-yates shuffle that does not mutate the source array.
RFC9562 UUIDs
Get an available port
Random numbers.
Cryptographic key pairs for the XRP Ledger
Generate random numbers from various distributions.
Get a random item from an array
random from array
Typical random-related functions for JavaScript.
TypeScript definitions for d3-random
`window.crypto.getRandomValues` with fallback to Node.js crypto
Array manipulation, ordering, searching, summarizing, etc.
Pick a random element from an array. Returns null if the array is empty.
Fast JavaScript array sorting by implementing Python's Timsort algorithm
Operation with random numbers for ngraph.*
Constructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.
A Pulumi package to safely use randomness in Pulumi programs.
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.
defines Array#riffle to merge multiple arrays as if riffling a deck of cards.
In Random Price Distribution, participants may have a higher chance of getting the most expensive gifts, which can reduce interest for other participants. This method uses weights to distribute the numbers more evenly.
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]))
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.
A generator of random numbers. Implemented as a built-in Integer class' method. Generates an array of specified quantity of random numbers. Generated numbers may repeat or may not repeat - it is configurable. You can set a range of numbers from which to generate by defining the beggining and the end of the range. Ruby's Random class is used as generator. Tested.
Weighted Sampler helps you to pick a random samples from a collection with defined probabilities or weights. You can pass an Array or a Hash with desired probabilities and use Module or Class API to pick samples. Please, see documentation in the repo https://gitlab.com/oleksiy/weighted_sampler
This gem is a Pokemon wrapper for engineers can call simple functions to create new pokemon with a name or type from the Pokemon Series from any of the 8 generations. You can call PokemonGenerator.pokemon() to get a random pokemon hash for you to use in you application along with being able to get the moves for that specific pokemon by its name a easy to work with array. If you wish to learn more on how to PokemonGenerator Gem please visit my Homepage.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.