{"id":19850278,"url":"https://github.com/trailbehind/lrm-pointtopoint","last_synced_at":"2026-06-13T05:32:09.798Z","repository":{"id":30974153,"uuid":"34532373","full_name":"trailbehind/lrm-pointtopoint","owner":"trailbehind","description":"A Router for Leaflet Routing Machine that doesn't do any routing.","archived":false,"fork":false,"pushed_at":"2016-10-12T16:58:32.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-02-28T23:11:29.745Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trailbehind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-24T17:33:06.000Z","updated_at":"2016-10-12T16:58:28.000Z","dependencies_parsed_at":"2022-09-08T19:13:28.744Z","dependency_job_id":null,"html_url":"https://github.com/trailbehind/lrm-pointtopoint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trailbehind/lrm-pointtopoint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailbehind%2Flrm-pointtopoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailbehind%2Flrm-pointtopoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailbehind%2Flrm-pointtopoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailbehind%2Flrm-pointtopoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trailbehind","download_url":"https://codeload.github.com/trailbehind/lrm-pointtopoint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailbehind%2Flrm-pointtopoint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34273788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T13:25:13.077Z","updated_at":"2026-06-13T05:32:09.781Z","avatar_url":"https://github.com/trailbehind.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Leaflet Routing Machine / PointToPoint\n=====================================\n\nA Router for Leaflet Routing Machine that doesn't do any routing.\n\nSome brief instructions follow below, but the [Leaflet Routing Machine tutorial on alternative routers](http://www.liedman.net/leaflet-routing-machine/tutorials/alternative-routers/) is recommended.\n\n## Installing\n\n\nTo use with for example Browserify:\n\n```sh\nnpm install --save lrm-pointtopoint\n```\n\nThere's not pre-built files yet, but I will get to it.\n\n## Using\n\nThere's a single class exported by this module, `L.Routing.PointToPoint`. It implements the [`IRouter`](http://www.liedman.net/leaflet-routing-machine/api/#irouter) interface. Use it to replace Leaflet Routing Machine's default OSRM router implementation:\n\n```javascript\nvar L = require('leaflet');\nrequire('leaflet-routing-machine');\nrequire('lrm-pointtopoint'); // This will tack on the class to the L.Routing namespace\n\nL.Routing.control({\n    router: new L.Routing.PointToPoint(),\n}).addTo(map);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailbehind%2Flrm-pointtopoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrailbehind%2Flrm-pointtopoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailbehind%2Flrm-pointtopoint/lists"}