node package manager

stree

segment-tree

JS/nodejs structure for quickly finding nearest edges and vertices