node package manager

segmentree

segment-tree

JS/nodejs structure for quickly finding nearest edges and vertices