Search results
10 packages found
Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js
Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.
Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.
Create a new object filtered to have only properties for which the callback returns true.
Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu
- accumulate
- accumulator
- callback
- cb
- find
- for-in
- for-own
- has
- has-own
- hasOwn
- index
- iterate
- iterator
- javascript
- View more
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
- array
- clone
- clone-array
- clone-array-deep
- clone-date
- clone-deep
- clone-object
- clone-object-deep
- clone-reg-exp
- date
- deep
- exp
- for
- for-in
- View more
Like [].some but for objects
Like [].every but for objects
Return an array of all values from the given object.
Create a new object filtered to have only properties for which the callback returns true.