Search results
211 packages found
Non-recursively creates an array of deep paths and properties within an object. Optionally unpacks prototypes and non-enumerable property descriptors. Supports Objects, Arrays, Maps, and Sets.
Immutable, optimized and optionally typed path-based object property / array accessors with structural sharing
wrangle deep nested object entries
Set and get values on objects via dot-notation or array notation strings.
Flatten nested array values to a single level
Sets values within nested objects; creates structure if not found. Supports setting within Objects, Arrays, Maps, Sets, WeakMaps, and WeakSets; supports creation of Objects, Arrays, and Maps.
Convert a plain array of nodes (with pointers to parent nodes) to a tree with promises
Flattening/unflattening nested objects without losing keys for blank objects / empty arrays
Create an object path from a list or array of strings.
treat a flat list as nested
Pass an array of object paths (e.g. `a.b.c`) and get the first non-undefined value if the property exists, or null if it does not.
Flatten provided data (including nested arrays) into a flat array.
safely access nested properties
Get a nested property value.
Safely get/set deep nested properties with standard path, strong type support
Utility for setting/getting/manipulating deeply nested attributes of an object or array.
This package provides a simple, lightweight and robust way to convert an object to a flat list of all its non-object entries - and of course back to an object.
- flat
- entries
- flat-entries
- Object.entries
- Object.fromEntries
- flatEntries
- fromFlatEntries
- object
- array
- list
- nested
- flatten
- deep
- Typescript
Apply a function to each nested element in an array of arrays and assign the result to a nested element in a new array of arrays.
Extract a nested property value from each element of an object array.
Apply a function to each nested element in a four-dimensional nested array and assign the result to a nested element in a new four-dimensional nested array.