lhl dfb8391a7b 2-17-1 3 years ago
..
test dfb8391a7b 2-17-1 3 years ago
CONTRIBUTING.md dfb8391a7b 2-17-1 3 years ago
LICENSE.md dfb8391a7b 2-17-1 3 years ago
README.md dfb8391a7b 2-17-1 3 years ago
dijkstra.js dfb8391a7b 2-17-1 3 years ago
package.json dfb8391a7b 2-17-1 3 years ago

README.md

dijkstrajs.js

NPM

Build Status

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 dijkstrajs

Examples

See test/dijkstra.test.js in the sources for some example code.