Package Exports
- dijkstrajs
- dijkstrajs/dijkstra.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dijkstrajs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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 and turned into a node module by Thomas Cort.
Requirements
Installation
npm install dijkstrajsExamples
See test/dijkstra.test.js in the sources for some example code.