https://github.com/d3/d3-delaunay
at the bottom of that page is a discussion of the sweep algorithm used and a list of other (non-javascript) language implentations.
The original d3-voronoi is deprecated but can be found here:
https://github.com/d3/d3-voronoi