🌜
🌞

Best JavaScript Tree Structure Libraries

functional-red-black-tree

functional-red-black-tree

v1.0.1

A fully persistent balanced binary search tree

Last Commit
Nov 5, 2018
GitHub Stargazers
337
License
MIT
Contributors
3
object-treeify

object-treeify

v3.3.0

Stringify Object as tree structure

Last Commit
Jul 25, 2022
GitHub Stargazers
8
License
MIT
Contributors
2
treeify

treeify

v1.1.0

converts a JS object into a nice and readable tree structure for the console

Last Commit
Feb 16, 2018
GitHub Stargazers
207
License
MIT
Contributors
3
treeverse

treeverse

v2.0.0

Walk any kind of tree structure depth- or breadth-first. Supports promises and advanced map-reduce operations with a very small API.

Last Commit
Sep 21, 2022
GitHub Stargazers
112
License
ISC
Contributors
3
@tyriar/fibonacci-heap

@tyriar/fibonacci-heap

v2.0.9

An implementation of the Fibonacci heap data structure

Last Commit
Jan 19, 2019
GitHub Stargazers
17
License
MIT
Contributors
2
performant-array-to-tree

performant-array-to-tree

v1.11.0

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.

Last Commit
Feb 17, 2022
GitHub Stargazers
168
License
MIT
Contributors
5
node-interval-tree

node-interval-tree

v2.0.1

Implementation of interval tree data structure.

Last Commit
Jul 19, 2022
GitHub Stargazers
65
License
MIT
Contributors
3
interval-tree-1d

interval-tree-1d

v1.0.4

1D interval tree data structure

Last Commit
Jun 3, 2021
GitHub Stargazers
58
License
MIT
Contributors
3
js-tree

js-tree

v2.0.2

Tree structure in javascript

Last Commit
Jun 27, 2019
GitHub Stargazers
35
License
MIT
Contributors
1
heap-js

heap-js

v2.2.0

Efficient Binary heap (priority queue, binary tree) data structure for JavaScript / TypeScript. Includes JavaScript methods, Python's heapq module methods, and Java's PriorityQueue methods.

Last Commit
May 10, 2022
GitHub Stargazers
62
License
BSD-3-Clause
Contributors
1
require-folder-tree

require-folder-tree

v1.4.7

Utility to require multiple files in a folder tree with flexible options

Last Commit
Oct 14, 2018
GitHub Stargazers
3
License
MIT
Contributors
1
@lezer/common

@lezer/common

v1.0.0

Syntax tree data structure and parser interfaces for the lezer parser

Last Commit
Jun 29, 2022
GitHub Stargazers
34
License
MIT
Contributors
5
sparqljson-to-tree

sparqljson-to-tree

v3.0.0

Converts SPARQL JSON results to a tree-based structure

Last Commit
Jul 14, 2022
GitHub Stargazers
15
License
MIT
Contributors
3
buckets-js

buckets-js

v1.98.2

Buckets is a complete, fully tested and documented data structure library written in pure JavaScript.

Last Commit
Apr 21, 2020
GitHub Stargazers
1,210
License
MIT
Contributors
4
leaflet.control.layers.tree

leaflet.control.layers.tree

v1.1.0

Control Layers in a Tree structure

Last Commit
Mar 27, 2021
GitHub Stargazers
107
License
BSD-3-Clause
Contributors
4
@tyriar/avl-tree

@tyriar/avl-tree

v2.0.6

An implementation of the AVL tree data structure

Last Commit
Sep 3, 2018
GitHub Stargazers
11
License
MIT
Contributors
1
ceibo

ceibo

v2.1.0

Ceibo is a JavaScript micro library to model trees that evaluate arbitrary code when accessing its nodes.

Last Commit
Feb 10, 2021
GitHub Stargazers
11
License
MIT
Contributors
5
flattree

flattree

v1.0.0

Convert hierarchical tree structure to flat structure.

Last Commit
Nov 21, 2021
GitHub Stargazers
28
License
MIT
Contributors
2
@algorithm.ts/binary-index-tree

@algorithm.ts/binary-index-tree

v1.0.22

Binary Index Tree

Last Commit
-
GitHub Stargazers
59
License
MIT
Contributors
1
ioredis-tree

ioredis-tree

v1.0.1

A robust tree structure implementation for Redis

Last Commit
-
GitHub Stargazers
79
License
MIT
Contributors
3
data-tree

data-tree

v1.2.4

Data oriented tree structure that unleashes the power of callbacks to create, search and traverse the tree.

Last Commit
Jul 14, 2016
GitHub Stargazers
15
License
MIT
Contributors
2
dir-tree-creator

dir-tree-creator

v4.0.0

npm like directory tree structure creator based on the given root path

Last Commit
Dec 10, 2017
GitHub Stargazers
14
License
MIT
Contributors
2
backbone-tree-model

backbone-tree-model

v1.1.1

Tree data structure using Backbone Model and Collection

Last Commit
Feb 12, 2018
GitHub Stargazers
38
License
MIT
Contributors
1