{"id":15792794,"url":"https://github.com/nfour/tiny-mst-router","last_synced_at":"2026-05-18T17:06:20.088Z","repository":{"id":57148755,"uuid":"239919540","full_name":"nfour/tiny-mst-router","owner":"nfour","description":"A tiny mobx-state-tree router","archived":false,"fork":false,"pushed_at":"2021-05-11T19:01:01.000Z","size":9,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T21:46:40.745Z","etag":null,"topics":["mobx","mobx-state-tree","react","router"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/nfour.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.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":"2020-02-12T03:34:32.000Z","updated_at":"2020-10-26T21:22:27.000Z","dependencies_parsed_at":"2022-08-31T23:50:41.861Z","dependency_job_id":null,"html_url":"https://github.com/nfour/tiny-mst-router","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nfour/tiny-mst-router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfour%2Ftiny-mst-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfour%2Ftiny-mst-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfour%2Ftiny-mst-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfour%2Ftiny-mst-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nfour","download_url":"https://codeload.github.com/nfour/tiny-mst-router/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfour%2Ftiny-mst-router/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263932464,"owners_count":23531775,"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":["mobx","mobx-state-tree","react","router"],"created_at":"2024-10-04T23:04:29.435Z","updated_at":"2026-05-18T17:06:15.048Z","avatar_url":"https://github.com/nfour.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tiny Mobx State Tree Router\n\nIt's only [one file](./TinyMstRouter.ts). Based on [/alisd23/mst-react-router](https://github.com/alisd23/mst-react-router)\n\n## Usage\n\n```ts\nimport { TinyMstRouter } from 'tiny-mst-router';\n\nconst router = TinyMstRouter.create({})\n\nrouter.push('/myroute')\n\n// or add it to your root model\n\nexport const RootModel = types.model({\n  router: TinyMstRouter,\n  // ...\n})\n```\n\n## Install\n\n- Dont forget the peer dependencies.\n- Requires `history@5`\n\n```json\n\"peerDependencies\": {\n  \"mobx\": \"\u003e=5\",\n  \"mobx-state-tree\": \"\u003e=3\",\n  \"history\": \"\u003e=5\"\n}\n```\n\n`yarn add tiny-mst-router mobx mobx-state-tree history@5`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfour%2Ftiny-mst-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnfour%2Ftiny-mst-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfour%2Ftiny-mst-router/lists"}