{"adoption": {"forks": 50, "observed_at": "2026-08-28T04:04:29.681955+00:00", "stars": 1358}, "canonical_url": "https://ross.abutalabs.com/products/defu", "card": {"archived": false, "artifact_type": "library", "description": "🌊 Assign default properties recursively", "domain": ["developer-tools", "web-development"], "enriched": true, "function": ["serialization", "developer-tools"], "health_score": 97, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["unjs/defu"], "name": "unjs/defu", "platform": ["browser", "cross-platform"], "pushed_at": "2026-08-21T20:58:42+00:00", "repo": "unjs/defu", "stars": 1358, "tags": ["defaults", "deep-merge", "options-merging", "typescript", "unjs", "javascript", "nodejs"], "topics": ["node", "npm", "yarn", "defaults", "defaultsdeep"], "urls": [], "use_cases": ["merge default options with user-provided config in a library", "recursively fill missing nested object properties", "create a custom deep merge strategy like summing numbers", "apply functions to transform default values during merge", "merge arrays and objects without mutating the originals"], "what_it_is": "A tiny, fast TypeScript/JavaScript utility for recursively assigning default properties to objects without mutating inputs. It supports custom merging strategies and function-based default value manipulation.", "when_to_avoid": ["you need full deep-merge with array concatenation semantics by default", "you're working outside the JavaScript/TypeScript ecosystem", "you need schema validation alongside merging"], "when_to_choose": ["you need lightweight recursive defaults assignment for JS/TS objects", "you want immutable merging with customizable strategies", "you're building a library or tool that accepts user options with sensible defaults"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/defu", "repo": "unjs/defu", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:41:47.476739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dca847b70b1021feac7563c2ff77233cae5c2508b654700924daf7c3ad3dc173", "fetched_at": "2026-08-28T04:04:29.681955+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/defu"}, {"content_hash": "00e2df2ecb97e1588c699be7eea2a5e7a6ce5bcc0a8141e60470d3fbb8fd5a43", "fetched_at": "2026-08-29T12:00:09.769087+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/defu"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:41:47.476739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dca847b70b1021feac7563c2ff77233cae5c2508b654700924daf7c3ad3dc173", "fetched_at": "2026-08-28T04:04:29.681955+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/defu"}, {"content_hash": "00e2df2ecb97e1588c699be7eea2a5e7a6ce5bcc0a8141e60470d3fbb8fd5a43", "fetched_at": "2026-08-29T12:00:09.769087+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/defu"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:41:47.476739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dca847b70b1021feac7563c2ff77233cae5c2508b654700924daf7c3ad3dc173", "fetched_at": "2026-08-28T04:04:29.681955+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/defu"}, {"content_hash": "00e2df2ecb97e1588c699be7eea2a5e7a6ce5bcc0a8141e60470d3fbb8fd5a43", "fetched_at": "2026-08-29T12:00:09.769087+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/defu"}], "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:04:29.681955+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:41:47.476739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dca847b70b1021feac7563c2ff77233cae5c2508b654700924daf7c3ad3dc173", "fetched_at": "2026-08-28T04:04:29.681955+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/defu"}, {"content_hash": "00e2df2ecb97e1588c699be7eea2a5e7a6ce5bcc0a8141e60470d3fbb8fd5a43", "fetched_at": "2026-08-29T12:00:09.769087+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/defu"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:41:47.476739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dca847b70b1021feac7563c2ff77233cae5c2508b654700924daf7c3ad3dc173", "fetched_at": "2026-08-28T04:04:29.681955+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/defu"}, {"content_hash": "00e2df2ecb97e1588c699be7eea2a5e7a6ce5bcc0a8141e60470d3fbb8fd5a43", "fetched_at": "2026-08-29T12:00:09.769087+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/defu"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:41:47.476739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dca847b70b1021feac7563c2ff77233cae5c2508b654700924daf7c3ad3dc173", "fetched_at": "2026-08-28T04:04:29.681955+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/defu"}, {"content_hash": "00e2df2ecb97e1588c699be7eea2a5e7a6ce5bcc0a8141e60470d3fbb8fd5a43", "fetched_at": "2026-08-29T12:00:09.769087+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/defu"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.681955+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:41:47.476739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dca847b70b1021feac7563c2ff77233cae5c2508b654700924daf7c3ad3dc173", "fetched_at": "2026-08-28T04:04:29.681955+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/defu"}, {"content_hash": "00e2df2ecb97e1588c699be7eea2a5e7a6ce5bcc0a8141e60470d3fbb8fd5a43", "fetched_at": "2026-08-29T12:00:09.769087+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/defu"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:41:47.476739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dca847b70b1021feac7563c2ff77233cae5c2508b654700924daf7c3ad3dc173", "fetched_at": "2026-08-28T04:04:29.681955+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/defu"}, {"content_hash": "00e2df2ecb97e1588c699be7eea2a5e7a6ce5bcc0a8141e60470d3fbb8fd5a43", "fetched_at": "2026-08-29T12:00:09.769087+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/defu"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:41:47.476739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dca847b70b1021feac7563c2ff77233cae5c2508b654700924daf7c3ad3dc173", "fetched_at": "2026-08-28T04:04:29.681955+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/defu"}, {"content_hash": "00e2df2ecb97e1588c699be7eea2a5e7a6ce5bcc0a8141e60470d3fbb8fd5a43", "fetched_at": "2026-08-29T12:00:09.769087+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/defu"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:41:47.476739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "dca847b70b1021feac7563c2ff77233cae5c2508b654700924daf7c3ad3dc173", "fetched_at": "2026-08-28T04:04:29.681955+00:00", "kind": "readme", "missing": false, "url": "https://github.com/unjs/defu"}, {"content_hash": "00e2df2ecb97e1588c699be7eea2a5e7a6ce5bcc0a8141e60470d3fbb8fd5a43", "fetched_at": "2026-08-29T12:00:09.769087+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/defu"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 78}, "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": 2764, "days_push": 12, "days_rel": 148, "gap_med": 2.5, "n_releases_24m": 3}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}