{"id":23053628,"url":"https://github.com/component/route","last_synced_at":"2025-07-09T09:09:47.766Z","repository":{"id":7474638,"uuid":"8822711","full_name":"component/route","owner":"component","description":"Route implementation for client-side routers","archived":false,"fork":false,"pushed_at":"2014-09-09T16:08:03.000Z","size":156,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-05-08T17:07:10.574Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/component.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-16T17:37:13.000Z","updated_at":"2024-02-12T23:52:13.000Z","dependencies_parsed_at":"2022-09-12T12:03:01.857Z","dependency_job_id":null,"html_url":"https://github.com/component/route","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Froute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Froute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Froute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Froute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/component","download_url":"https://codeload.github.com/component/route/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229890605,"owners_count":18140134,"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","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-12-16T00:18:55.892Z","updated_at":"2024-12-16T00:18:56.431Z","avatar_url":"https://github.com/component.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# route\n\n  Route implementation for client-side routers.\n\n## Installation\n\n    $ component install component/route\n\n## API\n\n### Route(path)\n\n  Initialize a `Route` with a `path` string or regexp.\n\n### Route#before(fn)\n\n  Add before `fn` used when the \"page\" is shown. This\n  may be invoked any number of times.\n\n### Route#after(fn)\n\n  Assign after `fn` used to perform cleanup when\n  an alternate \"page\" is shown. This may be invoked\n  any number of times.\n\n### Route#call(type, [args])\n\n  Invoke callbacks of `type` with `args` array.\n\n### Route#match(path)\n\n  Match against the given `path`. Returns `false` or\n  an array with params matched.\n\n## License\n\n  MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Froute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomponent%2Froute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Froute/lists"}