Search results
311 packages found
Filter object keys and values into a new object
A random weighted item chooser with custom seed option for JavaScript and TypeScript.
NestJS helper function that combined PartialType and PickType
Pick random data from array or object with specific filter
Returns a filtered copy of an object with only the specified keys, similar to `_.pick` from lodash / underscore.
Create a shallow copy of an input object that contains only the specified properties.
copy an object but with only the specified keys
The lodash method `_.pick` exported as a module.
Randomly pick an item from a set (using the specified probabilities).
A simple type-checking data validator and extractor
Generate a function that returns random items from a list with specified frequencies.
A simple (TypeScript) integration of "pick" and "omit" to filter props of an object
- pick
- omit
- picked-props
- omited-props
- typescript
- fillables
- guard
- filter
- wildcard
- props-stay
- filter-props
- delete-props
- guarded
- guarded-props
🌳 Get value from object using dot path.
Randomly select objects.
- randomize
- random
- duplication
- pick
- select
- random sample
- sampling
- sample
- random-utility
- select with replacement
- select without replacement
- sampling with replacement
- sampling without replacement
- statistic
- View more
🌳 Set a value to an object using dot path.
A utility to pick random elements from an array
Seedable random number generator supporting many common distributions.
- alea
- arr
- array
- bates
- d3-random
- distribution
- el
- element
- exponential
- fisher
- gaussian
- generate
- generate-random-numbers
- generator
- View more
A small and smart library to filter JS objects 🔪
get the property value from a nested object by using the dot path `a.b.c`