modern-dijkstra

1.1.2 • Public • Published

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.

Package Sidebar

Install

npm i modern-dijkstra

Weekly Downloads

6

Version

1.1.2

License

MIT

Unpacked Size

11.9 kB

Total Files

6

Last publish

Collaborators

  • profdecube