Search results
18 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.
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
Create a new object filtered to have only properties for which the callback returns true.
Test if an object's own or inherited property is enumerable.
Test if an object's own or inherited property is non-enumerable.
Split an object's own and inherited property values into two groups according to a predicate function.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- group
- groupby
- group-by
- bifurcate
- bifurcation
- aggregate
- partition
- View more
Group an object's own and inherited property values according to an indicator function.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- group
- groupby
- group-by
- aggregate
- partition
- split
- object
- View more
🐊Putout plugin adds ability to convert for-in to for-of
Sugary iteration utilities and interfaces.
- iteration
- iterator
- iterators
- iterable
- iterables
- async-iterator
- async-iteration
- async-iterable
- iter
- iterate
- for in
- for-in
- for of
- for-of
- View more
Create a new object filtered to have only properties for which the callback returns true.
Array-like methods for objects
A collection of classes that allow iteration over a predefined collection of elements.
- typescript
- iteration
- iterator
- iterators
- iterable
- iterables
- async-iterator
- async-iterators
- async-iteration
- async-iterable
- async-iterables
- for-each
- for-in
- for-of
- View more
Babel transform adds extra bindings to for-in and for-of statements
Babel transform adds extra bindings to for-in and for-of statements
```json // .babelrc { "plugins":["babel-plugin-transform-for-in"] } ```
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