evgenbabenko / performant-array-to-tree Goto Github PK
View Code? Open in Web Editor NEWThis project forked from philipstanislaus/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.js.
Home Page: https://www.npmjs.com/package/performant-array-to-tree