GitHub / 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.
Stars: 236
Forks: 39
Open issues: 4
License: None
Language: TypeScript
Size: 386 KB
Dependencies parsed at: Pending
Created at: about 8 years ago
Updated at: 26 days ago
Pushed at: 11 months ago
Last synced at: 2 days ago
Commit Stats
Commits: 107
Authors: 8
Mean commits per author: 13.38
Development Distribution Score: 0.393
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/philipstanislaus/performant-array-to-tree
Topics: algorithms-implemented, array-helper, array-manipulations, array-utils, data-structures, javascript, nested-loops, nodejs, traverse, tree, tree-structure, typescript