{"adoption": {"forks": 80, "observed_at": "2026-08-28T04:07:32.598148+00:00", "stars": 2967}, "canonical_url": "https://ross.abutalabs.com/products/memoize-one", "card": {"archived": false, "artifact_type": "library", "description": "A memoization library which only remembers the latest invocation", "domain": ["developer-tools", "web-development", "frontend", "performance"], "enriched": true, "function": ["caching"], "health_score": 20, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["alexreardon/memoize-one"], "name": "alexreardon/memoize-one", "platform": ["browser"], "pushed_at": "2023-01-08T21:07:38+00:00", "repo": "alexreardon/memoize-one", "stars": 2967, "tags": ["memoization", "cache", "typescript", "flow", "zero-dependency", "memory-safe", "performance", "nodejs", "javascript"], "topics": ["javascript", "memoize", "performance", "memoization"], "urls": [], "use_cases": ["memoize expensive pure functions in JavaScript", "cache only the latest function result to avoid memory leaks", "skip recomputation when arguments haven't changed", "memoize React render helpers or selectors", "avoid cache busting config like maxSize or maxAge", "memoize functions with custom equality checks"], "what_it_is": "A tiny TypeScript memoization library that caches only the result of the most recent function invocation, avoiding memory leaks from unbounded caches. It uses fast shallow argument equality by default with support for custom equality functions.", "when_to_avoid": ["you need multi-entry caching with maxSize, TTL, or LRU eviction", "you need to memoize async functions returning promises (use async-memoize-one instead)", "arguments are large objects needing deep equality on every call"], "when_to_choose": ["you only need last-call caching and want a tiny, dependency-free library", "you worry about memory leaks from unbounded memoization caches", "you want TypeScript/Flow types out of the box"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/memoize-one", "repo": "alexreardon/memoize-one", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:31:53.283378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8c2304df4d91f53040e01e9e3f5529b9b921fabefc63453293a9afba820f796", "fetched_at": "2026-08-28T04:07:32.598148+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexreardon/memoize-one"}, {"content_hash": "99ecf153e2b0b40415d5027b2772396054fa1c5e18e848081b4338b72f70adc5", "fetched_at": "2026-08-29T09:47:22.151974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/memoize-one"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:31:53.283378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8c2304df4d91f53040e01e9e3f5529b9b921fabefc63453293a9afba820f796", "fetched_at": "2026-08-28T04:07:32.598148+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexreardon/memoize-one"}, {"content_hash": "99ecf153e2b0b40415d5027b2772396054fa1c5e18e848081b4338b72f70adc5", "fetched_at": "2026-08-29T09:47:22.151974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/memoize-one"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:31:53.283378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8c2304df4d91f53040e01e9e3f5529b9b921fabefc63453293a9afba820f796", "fetched_at": "2026-08-28T04:07:32.598148+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexreardon/memoize-one"}, {"content_hash": "99ecf153e2b0b40415d5027b2772396054fa1c5e18e848081b4338b72f70adc5", "fetched_at": "2026-08-29T09:47:22.151974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/memoize-one"}], "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:07:32.598148+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:31:53.283378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8c2304df4d91f53040e01e9e3f5529b9b921fabefc63453293a9afba820f796", "fetched_at": "2026-08-28T04:07:32.598148+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexreardon/memoize-one"}, {"content_hash": "99ecf153e2b0b40415d5027b2772396054fa1c5e18e848081b4338b72f70adc5", "fetched_at": "2026-08-29T09:47:22.151974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/memoize-one"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:31:53.283378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8c2304df4d91f53040e01e9e3f5529b9b921fabefc63453293a9afba820f796", "fetched_at": "2026-08-28T04:07:32.598148+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexreardon/memoize-one"}, {"content_hash": "99ecf153e2b0b40415d5027b2772396054fa1c5e18e848081b4338b72f70adc5", "fetched_at": "2026-08-29T09:47:22.151974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/memoize-one"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:31:53.283378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8c2304df4d91f53040e01e9e3f5529b9b921fabefc63453293a9afba820f796", "fetched_at": "2026-08-28T04:07:32.598148+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexreardon/memoize-one"}, {"content_hash": "99ecf153e2b0b40415d5027b2772396054fa1c5e18e848081b4338b72f70adc5", "fetched_at": "2026-08-29T09:47:22.151974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/memoize-one"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.598148+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:31:53.283378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8c2304df4d91f53040e01e9e3f5529b9b921fabefc63453293a9afba820f796", "fetched_at": "2026-08-28T04:07:32.598148+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexreardon/memoize-one"}, {"content_hash": "99ecf153e2b0b40415d5027b2772396054fa1c5e18e848081b4338b72f70adc5", "fetched_at": "2026-08-29T09:47:22.151974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/memoize-one"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:31:53.283378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8c2304df4d91f53040e01e9e3f5529b9b921fabefc63453293a9afba820f796", "fetched_at": "2026-08-28T04:07:32.598148+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexreardon/memoize-one"}, {"content_hash": "99ecf153e2b0b40415d5027b2772396054fa1c5e18e848081b4338b72f70adc5", "fetched_at": "2026-08-29T09:47:22.151974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/memoize-one"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:31:53.283378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8c2304df4d91f53040e01e9e3f5529b9b921fabefc63453293a9afba820f796", "fetched_at": "2026-08-28T04:07:32.598148+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexreardon/memoize-one"}, {"content_hash": "99ecf153e2b0b40415d5027b2772396054fa1c5e18e848081b4338b72f70adc5", "fetched_at": "2026-08-29T09:47:22.151974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/memoize-one"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:31:53.283378+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8c2304df4d91f53040e01e9e3f5529b9b921fabefc63453293a9afba820f796", "fetched_at": "2026-08-28T04:07:32.598148+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexreardon/memoize-one"}, {"content_hash": "99ecf153e2b0b40415d5027b2772396054fa1c5e18e848081b4338b72f70adc5", "fetched_at": "2026-08-29T09:47:22.151974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/memoize-one"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "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": 3498, "days_push": 1333, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}