tree-util
Utility package for building a tree from array plus functions for working with trees
heap-js
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.
treeverse
Walk any kind of tree structure depth- or breadth-first. Supports promises and advanced map-reduce operations with a very small API.