lhl 561548437c 5-6-1 8 months ago
..
test 561548437c 5-6-1 8 months ago
CONTRIBUTING.md 561548437c 5-6-1 8 months ago
LICENSE.md 561548437c 5-6-1 8 months ago
README.md 561548437c 5-6-1 8 months ago
dijkstra.js 561548437c 5-6-1 8 months ago
package.json 561548437c 5-6-1 8 months 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.