Leaflet Routing Machine / GraphHopper

Download prebuilt files:

Just load one of these files with a <script> tag in your page, after Leaflet and Leaflet Routing Machine has been loaded.

Or, to use with for example Browserify:

npm install --save lrm-graphhopper

See the lrm-graphhopper project page for info and docs on using the plugin.