10 Best Vanilla JavaScript Tree Structure Libraries

List hand-picked by Openbase Experts
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
837
Weekly Downloads
26K
Last Commit
4yrs ago
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
323
Weekly Downloads
17M
Last Commit
3yrs ago
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
86
Weekly Downloads
168K
Last Commit
5mos ago

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
58
Weekly Downloads
45K
Last Commit
4yrs ago
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
10K
Last Commit
2yrs ago
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
175
Weekly Downloads
746
Last Commit
8mos ago
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
377
Last Commit
4yrs ago
tre

tree

JavaScript library for creating and manipulating hierarchical tree structures.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
23
Weekly Downloads
287
Last Commit
6yrs ago
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
3
Last Commit
4yrs ago
tre

treeish

An array to tree generator utility.

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
2
Last Commit
1yr ago