{"package":"defu","ecosystem":"npm","latest_version":"6.1.7","description":"Recursively assign default properties. Lightweight and Fast!","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/unjs/defu#readme","repository":"https://github.com/unjs/defu","downloads_weekly":29410223,"health":{"score":78,"risk":"moderate","breakdown":{"maintenance":15,"popularity":20,"security":25,"maturity":12,"community":6,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"6.1.7","total_count":31,"recent":["3.0.1","3.1.0","3.2.0","3.2.1","3.2.2","4.0.0","4.0.1","5.0.0","5.0.1","5.0.2-alpha","6.0.0","6.0.1","6.1.0","6.1.1","6.1.2","6.1.3","6.1.4","6.1.5","6.1.6","6.1.7"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2019-02-07T07:18:08.867Z","last_published":"2026-04-07T09:28:09.388Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":1339,"forks":35,"open_issues":15,"is_archived":false,"pushed_at":"2026-05-01T15:15:02+00:00"},"bundle":{"size_kb":1.0,"gzip_kb":0.6,"dependency_count":0,"has_js_module":"./dist/defu.mjs","has_side_effects":true,"scoped":false,"source":"bundlephobia"},"typescript":{"score":10,"has_types":true,"types_source":"bundled","types_package":null},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"6.1.7","version_hint":null,"summary":"defu@6.1.7 is safe to use (health: 78/100)"},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/npm/defu","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/defu","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/defu","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate"},"_cache":"hit","_response_ms":0}