Non-contiguously-allocated disjoint-set data structures for JavaScript. See docs. Parent is js-data-structures.
find( a ) === find( b ) ; // false
union( A , B ) ;
find( a ) === find( b ) ; // true
@union-find/contiguous
: Implementation of the same data structures with arrays instead of nodes and pointers.