modern-dijkstra
v1.1.2
Published
A modern JavaScript implementation of Dijkstra's single-source shortest-paths algorithm.
Downloads
201
Maintainers
Readme
dijkstrajs.js
dijkstrajs is a simple JavaScript implementation of Dijkstra's single-source shortest-paths algorithm.
The code was originally written by Wyatt Baldwin, turned into a node module by Thomas Cort and modernised for ES6 JavaScript by James McIntosh.
Requirements
Installation
npm install modern-dijkstra
Examples
See test/dijkstra.test.js
in the sources for some example code.