{"id":19623853,"url":"https://github.com/appleple/a-dispatcher","last_synced_at":"2025-08-09T06:05:49.775Z","repository":{"id":66341115,"uuid":"109223442","full_name":"appleple/a-dispatcher","owner":"appleple","description":"Just a simple url-dispatcher you can use with regex","archived":false,"fork":false,"pushed_at":"2017-11-02T06:06:03.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-28T05:34:54.624Z","etag":null,"topics":["es6","npm"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appleple.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-02T05:56:14.000Z","updated_at":"2017-12-30T15:45:12.000Z","dependencies_parsed_at":"2023-03-10T23:51:27.639Z","dependency_job_id":null,"html_url":"https://github.com/appleple/a-dispatcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/appleple/a-dispatcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fa-dispatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fa-dispatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fa-dispatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fa-dispatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleple","download_url":"https://codeload.github.com/appleple/a-dispatcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fa-dispatcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269537452,"owners_count":24434166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"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":["es6","npm"],"created_at":"2024-11-11T11:35:52.567Z","updated_at":"2025-08-09T06:05:49.745Z","avatar_url":"https://github.com/appleple.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# a-dispatcher\n\nJust a simple url-dispatcher you can use with regex\n\n```sh\nnpm install a-dispatcher --save\n```\n\n```js\nimport Dispatcher from 'a-dispatcher';\nimport User from './user-info';\nimport Edit from './user-info';\n\nconst dispatcher = new Dispatcher();\n\ndispatcher.addRoute('^/user', User);\n\ndispatcher.addRoute('^/edit', Edit);\n\ndispatcher.run(location.pathname);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fa-dispatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleple%2Fa-dispatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fa-dispatcher/lists"}