9 Best Node.js Tree Structure Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

tm

tree-model

Manipulate and traverse tree-like structures in javascript.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
833
Weekly Downloads
16K
Last Commit
3yrs ago
Bundle Size (min+gzip)
1.44KB
Not Tree-Shakeable
frb

functional-red-black-tree

A purely functional red-black tree data structure

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
318
Weekly Downloads
16M
Last Commit
3yrs ago
Bundle Size (min+gzip)
2.43KB
Not Tree-Shakeable
spl

splaytree

Fast splay-tree data structure

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
85
Weekly Downloads
149K
Last Commit
3mos ago
Bundle Size (min+gzip)
2.08KB
Tree-Shakeable

node-interval-tree

An Interval Tree data structure.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
57
Weekly Downloads
37K
Last Commit
4yrs ago
Bundle Size (min+gzip)
2.14KB
Not Tree-Shakeable
att

array-to-tree

Convert a plain array of nodes (with pointers to parent nodes) to a nested data structure

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
149
Weekly Downloads
8K
Last Commit
2yrs ago
Bundle Size (min+gzip)
5.12KB
Not Tree-Shakeable
tre

treeize

Converts row data (in JSON/associative array format) to tree structure based on column naming conventions.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
176
Weekly Downloads
724
Last Commit
5mos ago
Bundle Size (min+gzip)
29.6KB
Not Tree-Shakeable
btm

backbone-tree-model

Tree data structure using Backbone Model and Collection

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
38
Weekly Downloads
426
Last Commit
4yrs ago
Bundle Size (min+gzip)
1.30KB
Not Tree-Shakeable
eds

efficient-data-structures

Efficient data structures for Node: heaps, queues, tries, string builders etc.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
20
Last Commit
N/A
Bundle Size (min+gzip)
1.89KB
Not Tree-Shakeable
tts

tree-to-string

Convert a tree structure into a human friendly string

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
122
Weekly Downloads
0
Last Commit
3yrs ago
Bundle Size (min+gzip)
1.04KB
Not Tree-Shakeable