{"id":21943024,"url":"https://github.com/vlazh/mobx-utils","last_synced_at":"2025-07-20T22:05:17.150Z","repository":{"id":57700004,"uuid":"151128494","full_name":"vlazh/mobx-utils","owner":"vlazh","description":"Base classes and utilities of mobx stores and validable mobx models.","archived":false,"fork":false,"pushed_at":"2025-07-09T10:28:11.000Z","size":815,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T11:38:00.620Z","etag":null,"topics":["hooks","javascript","mobx","mobx-react","mobx-utils","react","typescript","utils"],"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/vlazh.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,"zenodo":null}},"created_at":"2018-10-01T17:25:53.000Z","updated_at":"2025-07-09T10:28:14.000Z","dependencies_parsed_at":"2023-11-15T06:21:36.783Z","dependency_job_id":"f1fe61dc-09af-48f9-a252-f1dbd4819104","html_url":"https://github.com/vlazh/mobx-utils","commit_stats":{"total_commits":480,"total_committers":1,"mean_commits":480.0,"dds":0.0,"last_synced_commit":"eaa40325a1eed06b4a1dfcbc533be8da0cf499c3"},"previous_names":[],"tags_count":177,"template":false,"template_full_name":null,"purl":"pkg:github/vlazh/mobx-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazh%2Fmobx-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazh%2Fmobx-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazh%2Fmobx-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazh%2Fmobx-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlazh","download_url":"https://codeload.github.com/vlazh/mobx-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazh%2Fmobx-utils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266205048,"owners_count":23892389,"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":["hooks","javascript","mobx","mobx-react","mobx-utils","react","typescript","utils"],"created_at":"2024-11-29T03:27:41.721Z","updated_at":"2025-07-20T22:05:17.130Z","avatar_url":"https://github.com/vlazh.png","language":"TypeScript","readme":"# MobX Utils\n\n[![npm package](https://img.shields.io/npm/v/@js-toolkit/mobx-utils.svg?style=flat-square)](https://www.npmjs.org/package/@js-toolkit/mobx-utils)\n\nUseful utils for mobx.\n\n```ts\nimport { observable } from 'mobx';\nimport { attachSelectors, createRootStore, createStore } from '@js-toolkit/mobx-utils/store/object';\n\nconst rootStore0 = createRootStore({\n  store1: createStore(\n    {\n      prop1: 0,\n      prop2: 0,\n      prop3: [],\n      prop4: '',\n      method: () =\u003e {},\n    },\n    {\n      prop3: observable.shallow,\n      prop4: false,\n    }\n  ),\n});\n\nconst rootStore = attachSelectors(rootStore0, {\n  get isProp1(): boolean {\n    return root.store1.prop1 \u003e 0;\n  },\n});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlazh%2Fmobx-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlazh%2Fmobx-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlazh%2Fmobx-utils/lists"}