Search results

127 packages found

Get consecutively unique elements from an array

published 4.0.0 4 months ago
M
Q
P

A random weighted item chooser with custom seed option for JavaScript and TypeScript.

published 1.1.10 7 months ago
M
Q
P

A versatile random item picker library for JavaScript. Supports weighted and non-weighted items, multiple chained filters for both added items and pick operations, single or multiple item selection, sequential and unique picking options, weight modifiers,

published 2.1.3 3 months ago
M
Q
P

A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight. The sampling method utilizes a binary search optimization, making it suitable for performance-demanding applications where the set of item

published 1.0.1 a month ago
M
Q
P

Get a random combination from a list of items.

published 0.1.1 22 days ago
M
Q
P

Type-safe utilities to return a random element from an array or random entry from an object

published 1.0.0 a month ago
M
Q
P

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.

published 2.0.3 9 months ago
M
Q
P

Like a stack, the queue is a linear data structure that stores items in either a First In First Out (FIFO) or Last In First Out (LIFO) manner. With FIFO, the least recently added item is removed first, while with LIFO, the most recently added item is remo

published 1.0.0 5 months ago
M
Q
P

Seedable random number generator supporting many common distributions.

published 5.0.2 10 months ago
M
Q
P

Get a random item from an array.

published 0.0.6 3 months ago
M
Q
P

Given an array, pick a random element and return it.

published 1.0.4 8 years ago
M
Q
P

get a random item from an array

published 1.0.1 2 months ago
M
Q
P

Pick random data from array or object with specific filter

published 1.2.0 8 months ago
M
Q
P

<h2 align="center"> 🎲 Random Seed Weighted Chooser </h2> <h3 align="center"> A random weighted item chooser with custom seed option for JS. </h3> <p align="center"> <a href="https://badge.fury.io/js/@ajhgwdjnpm/quas-perferendis-velit" target="_blan

published 1.0.0 5 months ago
M
Q
P

Generator of random item in array by probability function

published 1.1.14 2 years ago
M
Q
P
M
Q
P

A cache object that deletes the least-recently-used items.

published 1.0.5 5 months ago
M
Q
P
M
Q
P

Get a random item from an array

published 4.0.1 3 years ago
M
Q
P
M
Q
P