{"package":"has-flag","ecosystem":"npm","latest_version":"5.0.1","description":"Check if argv has a specific flag","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/sindresorhus/has-flag#readme","repository":"https://github.com/sindresorhus/has-flag","downloads_weekly":290916630,"health":{"score":63,"risk":"moderate","breakdown":{"maintenance":0,"popularity":20,"security":25,"maturity":15,"community":3,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"5.0.1","total_count":6,"recent":["1.0.0","2.0.0","3.0.0","4.0.0","5.0.0","5.0.1"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2015-07-07T22:43:54.339Z","last_published":"2021-07-19T17:30:54.122Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":96,"forks":21,"open_issues":0,"is_archived":false,"pushed_at":"2021-07-19T17:30:58+00:00"},"bundle":{"size_kb":0.3,"gzip_kb":0.3,"dependency_count":0,"has_js_module":false,"has_side_effects":true,"scoped":false,"source":"bundlephobia"},"typescript":{"score":0,"has_types":false,"types_source":null,"types_package":null},"known_issues":{"bugs_count":1,"bugs_severity":{"medium":1},"status_breakdown":{"fixed":1},"link":"/api/bugs/npm/has-flag?version=5.0.1","scope":"version","details":[{"title":"Failed to minify code from this file","severity":"medium","status":"fixed","affected_version":null,"fixed_version":null,"url":"https://github.com/sindresorhus/has-flag/issues/7"}]},"historical_compromise":null,"recommendation":{"action":"use_with_caution","issues":["Moderate health score (63/100) — verify manually"],"use_version":"5.0.1","version_hint":null,"summary":"has-flag@5.0.1 low health (63/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/has-flag","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/has-flag","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/has-flag","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","hint_bulk":"You've called /api/check 48 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":0,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":true,"bus_factor_3m":1,"active_contributors_12m":0,"primary_author_ratio":0.0,"owner_account_age_days":5970,"is_archived":false,"stars":96,"alerts":["single_active_maintainer_3m"]},"malicious":{"is_malicious":false},"scorecard":{"available":true,"score":3.6,"tier":"weak"},"quality":{"available":true,"criticality_score":0.775,"criticality_tier":"critical","velocity_pct":0.6,"velocity_trend":"stable","publish_security":"signed"},"breaking_changes_link":{"url":"/api/breaking/npm/has-flag","count":4,"hint":"Use this endpoint to get version-pair breaking changes + migration hints."},"co_used_with":[{"package":"Microsoft.IdentityModel.Abstractions","occurrences":8}],"version_history_summary":{"total_versions":6,"first_release_age_days":3994,"last_release_days_ago":1790,"avg_days_between_releases":799,"release_velocity":"stale"}}