Path Finding JavaScript Library

PathFinding.js is an open source JavaScript library that implements, as the name suggests, path finding algorithms into web and mobile HTML5 games that use tile-based maps.

The online demo shows different algorithms and heuristics for path finding, including the popular A* algorithm.