performant-array-to-tree (npm): Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.
Keywords: array to tree|list to tree|unflatten|array-helper|array-manipulations|data-structures|datastructures|algorithms|tree-structure|array|list|collection|pointer|parent|children|child|tree|navigation|nested|util|traverse|descendants|ancestors|algorithms-implemented|array-utils|javascript|nested-loops|nodejs|typescript