{"adoption": {"forks": 75, "observed_at": "2026-08-28T04:06:33.529994+00:00", "stars": 2277}, "canonical_url": "https://ross.abutalabs.com/products/swrv", "card": {"archived": false, "artifact_type": "library", "description": "Stale-while-revalidate data fetching for Vue", "domain": ["frontend", "web-development", "developer-tools"], "enriched": true, "function": ["http-client", "caching", "state-management", "middleware"], "health_score": 96, "homepage": "https://docs-swrv.netlify.app", "language": "TypeScript", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["Kong/swrv"], "name": "Kong/swrv", "platform": ["browser", "cross-platform"], "pushed_at": "2026-08-04T18:18:30+00:00", "repo": "Kong/swrv", "stars": 2277, "tags": ["vue", "swr", "stale-while-revalidate", "data-fetching", "composition-api", "typescript", "reactivity", "nodejs"], "topics": ["vue", "swr"], "urls": [], "use_cases": ["fetch remote data in Vue components with automatic caching", "show stale data instantly while revalidating in the background", "poll an API at intervals to keep the UI up to date", "deduplicate duplicate in-flight requests across components", "refetch data when the window regains focus", "retry failed requests with stale-if-error fallback", "plug in a custom cache like localStorage"], "what_it_is": "swrv is a Vue Composition API library for remote data fetching using the stale-while-revalidate caching strategy. It serves cached data immediately, revalidates in the background, and provides features like polling, revalidation on focus, request deduplication, and error retry.", "when_to_avoid": ["you need SSR support, which was removed as of version 0.10.0", "your project uses React (use the swr library instead)", "you need a full state management solution rather than a data-fetching hook", "you're on Vue 2.6 or below and can't use an older release"], "when_to_choose": []}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swrv", "repo": "Kong/swrv", "role": "main", "score": 79}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:41:25.740317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67bbca6d93fc5b18594c6de452968efdc20cb38f09ade1fbfb43148c0f2dfd7", "fetched_at": "2026-08-28T04:06:33.529994+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kong/swrv"}, {"content_hash": "71bd4f9a908ba8da1f2b291ed5515fbdd6c39a1d093870b3ff464dd92007c179", "fetched_at": "2026-08-29T10:22:07.712001+00:00", "kind": "homepage", "missing": false, "url": "https://docs-swrv.netlify.app"}, {"content_hash": "dd62e57ba72288ea570e3eafd968689251dcdf954f6f6a38ee48f443c50f03ea", "fetched_at": "2026-08-29T10:22:07.720735+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/swrv"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:41:25.740317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67bbca6d93fc5b18594c6de452968efdc20cb38f09ade1fbfb43148c0f2dfd7", "fetched_at": "2026-08-28T04:06:33.529994+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kong/swrv"}, {"content_hash": "71bd4f9a908ba8da1f2b291ed5515fbdd6c39a1d093870b3ff464dd92007c179", "fetched_at": "2026-08-29T10:22:07.712001+00:00", "kind": "homepage", "missing": false, "url": "https://docs-swrv.netlify.app"}, {"content_hash": "dd62e57ba72288ea570e3eafd968689251dcdf954f6f6a38ee48f443c50f03ea", "fetched_at": "2026-08-29T10:22:07.720735+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/swrv"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:41:25.740317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67bbca6d93fc5b18594c6de452968efdc20cb38f09ade1fbfb43148c0f2dfd7", "fetched_at": "2026-08-28T04:06:33.529994+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kong/swrv"}, {"content_hash": "71bd4f9a908ba8da1f2b291ed5515fbdd6c39a1d093870b3ff464dd92007c179", "fetched_at": "2026-08-29T10:22:07.712001+00:00", "kind": "homepage", "missing": false, "url": "https://docs-swrv.netlify.app"}, {"content_hash": "dd62e57ba72288ea570e3eafd968689251dcdf954f6f6a38ee48f443c50f03ea", "fetched_at": "2026-08-29T10:22:07.720735+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/swrv"}], "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:06:33.529994+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:41:25.740317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67bbca6d93fc5b18594c6de452968efdc20cb38f09ade1fbfb43148c0f2dfd7", "fetched_at": "2026-08-28T04:06:33.529994+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kong/swrv"}, {"content_hash": "71bd4f9a908ba8da1f2b291ed5515fbdd6c39a1d093870b3ff464dd92007c179", "fetched_at": "2026-08-29T10:22:07.712001+00:00", "kind": "homepage", "missing": false, "url": "https://docs-swrv.netlify.app"}, {"content_hash": "dd62e57ba72288ea570e3eafd968689251dcdf954f6f6a38ee48f443c50f03ea", "fetched_at": "2026-08-29T10:22:07.720735+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/swrv"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:41:25.740317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67bbca6d93fc5b18594c6de452968efdc20cb38f09ade1fbfb43148c0f2dfd7", "fetched_at": "2026-08-28T04:06:33.529994+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kong/swrv"}, {"content_hash": "71bd4f9a908ba8da1f2b291ed5515fbdd6c39a1d093870b3ff464dd92007c179", "fetched_at": "2026-08-29T10:22:07.712001+00:00", "kind": "homepage", "missing": false, "url": "https://docs-swrv.netlify.app"}, {"content_hash": "dd62e57ba72288ea570e3eafd968689251dcdf954f6f6a38ee48f443c50f03ea", "fetched_at": "2026-08-29T10:22:07.720735+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/swrv"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:41:25.740317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67bbca6d93fc5b18594c6de452968efdc20cb38f09ade1fbfb43148c0f2dfd7", "fetched_at": "2026-08-28T04:06:33.529994+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kong/swrv"}, {"content_hash": "71bd4f9a908ba8da1f2b291ed5515fbdd6c39a1d093870b3ff464dd92007c179", "fetched_at": "2026-08-29T10:22:07.712001+00:00", "kind": "homepage", "missing": false, "url": "https://docs-swrv.netlify.app"}, {"content_hash": "dd62e57ba72288ea570e3eafd968689251dcdf954f6f6a38ee48f443c50f03ea", "fetched_at": "2026-08-29T10:22:07.720735+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/swrv"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.529994+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:41:25.740317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67bbca6d93fc5b18594c6de452968efdc20cb38f09ade1fbfb43148c0f2dfd7", "fetched_at": "2026-08-28T04:06:33.529994+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kong/swrv"}, {"content_hash": "71bd4f9a908ba8da1f2b291ed5515fbdd6c39a1d093870b3ff464dd92007c179", "fetched_at": "2026-08-29T10:22:07.712001+00:00", "kind": "homepage", "missing": false, "url": "https://docs-swrv.netlify.app"}, {"content_hash": "dd62e57ba72288ea570e3eafd968689251dcdf954f6f6a38ee48f443c50f03ea", "fetched_at": "2026-08-29T10:22:07.720735+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/swrv"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:41:25.740317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67bbca6d93fc5b18594c6de452968efdc20cb38f09ade1fbfb43148c0f2dfd7", "fetched_at": "2026-08-28T04:06:33.529994+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kong/swrv"}, {"content_hash": "71bd4f9a908ba8da1f2b291ed5515fbdd6c39a1d093870b3ff464dd92007c179", "fetched_at": "2026-08-29T10:22:07.712001+00:00", "kind": "homepage", "missing": false, "url": "https://docs-swrv.netlify.app"}, {"content_hash": "dd62e57ba72288ea570e3eafd968689251dcdf954f6f6a38ee48f443c50f03ea", "fetched_at": "2026-08-29T10:22:07.720735+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/swrv"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:41:25.740317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67bbca6d93fc5b18594c6de452968efdc20cb38f09ade1fbfb43148c0f2dfd7", "fetched_at": "2026-08-28T04:06:33.529994+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kong/swrv"}, {"content_hash": "71bd4f9a908ba8da1f2b291ed5515fbdd6c39a1d093870b3ff464dd92007c179", "fetched_at": "2026-08-29T10:22:07.712001+00:00", "kind": "homepage", "missing": false, "url": "https://docs-swrv.netlify.app"}, {"content_hash": "dd62e57ba72288ea570e3eafd968689251dcdf954f6f6a38ee48f443c50f03ea", "fetched_at": "2026-08-29T10:22:07.720735+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/swrv"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:41:25.740317+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67bbca6d93fc5b18594c6de452968efdc20cb38f09ade1fbfb43148c0f2dfd7", "fetched_at": "2026-08-28T04:06:33.529994+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Kong/swrv"}, {"content_hash": "71bd4f9a908ba8da1f2b291ed5515fbdd6c39a1d093870b3ff464dd92007c179", "fetched_at": "2026-08-29T10:22:07.712001+00:00", "kind": "homepage", "missing": false, "url": "https://docs-swrv.netlify.app"}, {"content_hash": "dd62e57ba72288ea570e3eafd968689251dcdf954f6f6a38ee48f443c50f03ea", "fetched_at": "2026-08-29T10:22:07.720735+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/swrv"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 44}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2412, "days_push": 29, "days_rel": 163, "gap_med": 425, "n_releases_24m": 2}, "score": 79, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}