Search results
1724 packages found
Function to randomize an array
simple and elegant generation of random data
Round an array, conserving both sum and individual expected values
A javascript package for randomly selecting items from an array efficiently.
Draw one random element from an array
Randomize the order of items in an array using FP style
Constructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.
Cryptographically secure shuffle using the Durstenfeld algorithm with a CSPRNG.
returns a random item in an Array
javascript lightweight basic tools for node.js and browser
Generate random array indices weighted by given scores.
Returns the specified number of random elements from the array.
Create a factory function for generating pseudorandom values drawn from a unary PRNG.
- stdlib
- stdmath
- mathematics
- math
- statistics
- stats
- tools
- prng
- rng
- pseudorandom
- random
- rand
- generator
- factory
- View more
Constructor for creating arrays filled with pseudorandom values drawn from a binary PRNG.
Returns an array of a specified length containing a random subset of elements from a given array
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
- parents
- stable
- es2017
- jsdom
- formatting
- setPrototypeOf
- 256
- import
- functions
- middleware
- ECMAScript 2016
- classname
- css less
- keys
- View more
Utilities to make Javascript Easy
Retrieve random elements from an array, ensuring that al least each item will be received one time and that no duplicates will be received after each array loop.
Get a random item from a list
Create an array containing pseudorandom numbers drawn from a continuous uniform distribution.
- stdlib
- stdmath
- mathematics
- math
- statistics
- stats
- prng
- rng
- pseudorandom
- random
- rand
- uniform
- continuous
- generator
- View more