{"package":"react-if","ecosystem":"npm","latest_version":"4.1.6","description":"🌗 Render React components conditionally","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/romac/react-if","repository":"https://github.com/romac/react-if","downloads_weekly":55789,"health":{"score":60,"risk":"moderate","breakdown":{"maintenance":10,"popularity":10,"security":25,"maturity":15,"community":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"4.1.6","total_count":37,"recent":["3.0.0","3.1.0","3.1.1","3.1.2","3.1.3","3.2.0","3.3.0","3.4.0","3.4.1","3.4.2","3.4.3","4.0.0","4.0.1","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":2,"first_published":"2014-09-04T16:06:56.419Z","last_published":"2025-05-27T20:19:46.997Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":1148,"forks":59,"open_issues":8,"is_archived":true,"pushed_at":"2026-04-03T21:38:53Z","subscribers_count":9},"bundle":{"size_kb":10.4,"gzip_kb":3.8,"dependency_count":0,"has_js_module":"dist/react-if.esm.js","has_side_effects":false,"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":"use_with_caution","issues":["Moderate health score (60/100) — verify manually"],"use_version":"4.1.6","version_hint":null,"summary":"react-if@4.1.6 low health (60/100) — consider alternatives"},"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/react-if","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/react-if","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/react-if","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"},"requested_version":null,"_cache":"miss","_response_ms":1920,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":false},"version_history_summary":{"total_versions":20,"first_release_age_days":4258,"last_release_days_ago":340,"avg_days_between_releases":224,"release_velocity":"moderate"}}