{"package":"necessary","ecosystem":"npm","latest_version":"17.7.2","description":"A collection of utility functions.","license":"MIT, Anti-996","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/djalbat/necessary","repository":"https://github.com/djalbat/necessary","downloads_weekly":2159,"health":{"score":73,"risk":"moderate","breakdown":{"maintenance":25,"popularity":6,"security":25,"maturity":15,"community":2},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"17.7.2","total_count":498,"recent":["17.2.10","17.2.11","17.2.12","17.2.13","17.3.0","17.4.0","17.5.0","17.5.1","17.5.2","17.5.3","17.5.4","17.5.5","17.6.0","17.6.1","17.6.2","17.6.3","17.6.4","17.7.0","17.7.1","17.7.2"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2017-08-02T21:18:06.979Z","last_published":"2026-09-06T12:22:39.781Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":0,"forks":0,"open_issues":0,"is_archived":false,"pushed_at":"2026-09-06T12:22:38Z","subscribers_count":1},"bundle":null,"typescript":{"score":0,"has_types":false,"types_source":null,"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":"17.7.2","version_hint":null,"summary":"necessary@17.7.2 is safe to use (health: 73/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/necessary","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/necessary","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/necessary","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}