hierarchical-tree
This is library supported for convert array to hierarchical tree with move, swap, delete,... node faster
fast-tree-builder
Efficiently construct highly customizable bi-directional tree structures from iterable data.
performant-array-to-tree
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.
protochain
Get the prototype chain of any value as an Array