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.
Easily construct highly customizable bi-directional tree structures from iterable data.
Convert list to tree, managing a tree and its nodes.