Search results
211 packages found
Transform an object into nested arrays.
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
A lightweight javascript diff library for comparing two javascript object nested with supporting matching by value of the object's choosen key name in array.
A tiny (~210B) and fast flattened object expander, unflattener
Deeply resolve all promises in a value.
Accept Arguments object or multiple arguments that can be any value, including deeply nested arrays. Flatten the arguments/values then filter them to be only functions. Useful for `.use` methods.
Traverse through nested collections with ease.
A utility library to convert between nested and flattened objects.
Construct a matrix from an array of arrays.
- compute.io
- compute
- computation
- mathematics
- math
- linear
- algebra
- two dimensional
- 2d
- matrix
- matrices
- data
- structure
- data structure
- View more
Retrieve deeply nested properties from mixed objects and arrays using dot notation.
Get nested value inside a string, an array or an object.
Extract a nested property value from each element of an object array.
Curried function deriving a new array containing items from given array for which predicate returns true. Supports unary function, RegExp, dot/bracket-notation string path, and compound query object as predicate.
- alternative
- array
- array-filter
- array.filter
- arrayfilter
- bracket
- bracket-notation
- compatible
- compound
- curried
- dot
- dot-notation
- es3
- filter
- View more
Find the array index of where to add an element to keep it sorted.
- find
- array
- index
- add
- element
- sorted
- arr
- insertion
- [compare]
- [comparenumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- View more
Remove all duplicate elements in a sorted array, leaving only uniques.
- remove
- duplicate
- elements
- sorted
- array
- leaving
- uniques
- arr
- [compare]
- [comparenumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- View more
Find all indexes at which an array element exists, by binary search.
- find
- indexes
- array
- element
- exists
- binary
- search
- [compare]
- [comparenumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- [comparedescending=false]
- View more
Binary search -based indexOf for sorted arrays.
- binary
- search
- -based
- indexof
- sorted
- arrays
- arr
- array
- element
- find
- [compare]
- [comparenumeric=false]
- sort
- numerically
- View more
For a sorted array, add an element. Whichever comparator function was used to sort the array, can be passed. Also supports comparator-builder options. For reference, see: https://github.com/bemoje/bemoje-arr-sort-comparator
- sorted
- array
- add
- element
- whichever
- comparator
- function
- sort
- passed
- supports
- comparator-builder
- options
- reference
- https://github.com/bemoje/bemoje-arr-sort-comparator
- View more
A one-liner function that flattens arrays.
Sort an array considerably faster than the native Array.prototype.sort as a drop-in replacement. Fork of of the famous timsort module, but this module allows for passing comparator-builder options instead of a comparator function. In short, advanced compa
- sort
- array
- considerably
- faster
- native
- arrayprototypesort
- drop-in
- replacement
- fork
- famous
- timsort
- module
- passing
- comparator-builder
- View more