Search results

103 packages found

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

published 1.1.10 4 months ago
M
Q
P

A utility to pick random elements from an array

published 1.0.3 2 years ago
M
Q
P

Return a partial object copy containing only specified keys.

published 0.2.1 4 months ago
M
Q
P

Pick all values of a property in one or more objects

published 1.1.0 8 years ago
M
Q
P

Pick a random item from a weighted list.

published 2.0.0 2 years ago
M
Q
P

A tiny type safe utility to sort an array of objects by a property using the values array

published 1.0.7 a month ago
M
Q
P

Return a partial object copy excluding specified keys.

published 0.2.1 4 months ago
M
Q
P

Mess with the properties of deeply nested objects.

published 0.1.2 10 years ago
M
Q
P

Return a partial object copy containing properties for which a predicate (function) returns a truthy value.

published 0.2.1 4 months ago
M
Q
P

Get random elements from on array

published 1.0.0 8 years ago
M
Q
P

Seedable random number generator supporting many common distributions.

published 5.0.2 7 months ago
M
Q
P

small module for randomly sampling an item in an array

published 1.0.1 8 years ago
M
Q
P

Return a partial object copy excluding properties for which a predicate (function) returns a truthy value.

published 0.2.1 4 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

Custom array map functions

published 1.0.1 7 months ago
M
Q
P

A javascript library which adds [C# LINQ](https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable?view=net-6.0) inspired helper methods for iterators. Supported in Node.js and web browsers.

published 1.0.9 3 months ago
M
Q
P

A simple js-class to put an array into an urn and draw random items from it - with or without replacement.

published 1.0.1 4 years ago
M
Q
P

common javascript utils that can be required selectively that assume es5+

published 1.14.0 3 months ago
M
Q
P

Map values from one object to a new object having the same keys.

published 0.2.1 4 months ago
M
Q
P

Arrays as object key paths

published 0.0.2 8 years ago
M
Q
P