lhl 982c208bef 9-30 2 years ago
..
test 982c208bef 9-30 2 years ago
CONTRIBUTING.md 982c208bef 9-30 2 years ago
LICENSE.md 982c208bef 9-30 2 years ago
README.md 982c208bef 9-30 2 years ago
dijkstra.js 982c208bef 9-30 2 years ago
package.json 982c208bef 9-30 2 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.