{"adoption": {"forks": 478, "observed_at": "2026-08-28T04:08:41.252243+00:00", "stars": 4284}, "canonical_url": "https://ross.abutalabs.com/products/westore", "card": {"archived": false, "artifact_type": "library", "description": "小程序MVVM分层架构", "domain": ["web-development", "frontend", "developer-tools"], "enriched": true, "function": ["state-management", "frontend-framework"], "health_score": 68, "homepage": null, "language": "JavaScript", "license": null, "license_family": "other", "maturity": "active", "member_repos": ["Tencent/westore"], "name": "Tencent/westore", "platform": [], "pushed_at": "2026-05-01T04:39:55+00:00", "repo": "Tencent/westore", "stars": 4284, "tags": ["weapp", "miniprogram", "mvvm", "setdata", "-diff", "store-pattern", "javascript", "wechat", "web"], "topics": ["weapp", "store", "state", "state-management", "miniprogram", "setdata", "setstate", "update", "diff", "json-diff", "mp", "web", "westore", "mvc", "mvp", "mvvm", "model"], "urls": [], "use_cases": ["manage state in wechat mini programs", "avoid bloated page and component logic in miniprogram apps", "replace setData with a single update call", "structure mini program code with MVC/MVP/MVVM patterns", "write platform-independent business model code", "minimize setData payload with  diff"], "what_it_is": "Westore is a Tencent open-source library providing an MVVM layered architecture for WeChat Mini Programs. It replaces direct setData calls with a Store-based update mechanism using deepClone and JSON diffing to compute minimal data update paths.", "when_to_avoid": ["building non-miniprogram web apps where standard state libraries fit better", "very simple mini programs where the architecture adds overhead", "you need a project with a permissive license guarantee (no license file)"], "when_to_choose": ["building WeChat Mini Programs with complex business logic", "you want a thin view layer and testable model separation", "you need minimal setData paths for performance"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/westore", "repo": "Tencent/westore", "role": "main", "score": 68}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:21:57.207298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6f1e890811ea31a1e0def41dbda53e140cc9759474a6c185b3abfe4fd9a93c8f", "fetched_at": "2026-08-28T04:08:41.252243+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/westore"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:21:57.207298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6f1e890811ea31a1e0def41dbda53e140cc9759474a6c185b3abfe4fd9a93c8f", "fetched_at": "2026-08-28T04:08:41.252243+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/westore"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:21:57.207298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6f1e890811ea31a1e0def41dbda53e140cc9759474a6c185b3abfe4fd9a93c8f", "fetched_at": "2026-08-28T04:08:41.252243+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/westore"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:21:57.207298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6f1e890811ea31a1e0def41dbda53e140cc9759474a6c185b3abfe4fd9a93c8f", "fetched_at": "2026-08-28T04:08:41.252243+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/westore"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:21:57.207298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6f1e890811ea31a1e0def41dbda53e140cc9759474a6c185b3abfe4fd9a93c8f", "fetched_at": "2026-08-28T04:08:41.252243+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/westore"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:21:57.207298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6f1e890811ea31a1e0def41dbda53e140cc9759474a6c185b3abfe4fd9a93c8f", "fetched_at": "2026-08-28T04:08:41.252243+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/westore"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:41.252243+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:21:57.207298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6f1e890811ea31a1e0def41dbda53e140cc9759474a6c185b3abfe4fd9a93c8f", "fetched_at": "2026-08-28T04:08:41.252243+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/westore"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:21:57.207298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6f1e890811ea31a1e0def41dbda53e140cc9759474a6c185b3abfe4fd9a93c8f", "fetched_at": "2026-08-28T04:08:41.252243+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/westore"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:21:57.207298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6f1e890811ea31a1e0def41dbda53e140cc9759474a6c185b3abfe4fd9a93c8f", "fetched_at": "2026-08-28T04:08:41.252243+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/westore"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:21:57.207298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6f1e890811ea31a1e0def41dbda53e140cc9759474a6c185b3abfe4fd9a93c8f", "fetched_at": "2026-08-28T04:08:41.252243+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/westore"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 80, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4136, "days_push": 124, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 68, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}