{"package":"select2","ecosystem":"npm","latest_version":"4.1.0","description":"Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://select2.org","repository":"https://github.com/select2/select2","downloads_weekly":490076,"health":{"score":89,"risk":"low","breakdown":{"maintenance":25,"popularity":14,"security":25,"maturity":15,"community":10,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"4.1.0","total_count":28,"recent":["4.0.2-rc.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6-rc.0","4.0.6-rc.1","4.0.6","4.0.7-rc.0","4.0.7","4.0.8","4.0.9","4.0.10","4.0.11","4.0.12","4.0.13","4.1.0-beta.0","4.1.0-beta.1","4.1.0-rc.0","4.1.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2013-09-26T19:00:08.550Z","last_published":"2026-05-26T20:11:44.827Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":25902,"forks":6130,"open_issues":134,"is_archived":false,"pushed_at":"2026-09-20T17:00:10Z","subscribers_count":692},"bundle":{"size_kb":71.7,"gzip_kb":20.0,"dependency_count":0,"has_js_module":false,"has_side_effects":true,"scoped":false,"source":"bundlephobia"},"typescript":{"score":7,"has_types":true,"types_source":"definitely-typed","types_package":"@types/select2"},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"4.1.0","version_hint":null,"summary":"select2@4.1.0 is safe to use (health: 89/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/select2","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/select2","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/select2","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 70 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":3,"_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":true,"criticality_score":null,"criticality_tier":null,"velocity_pct":null,"velocity_trend":null,"publish_security":"signed"},"version_history_summary":{"total_versions":20,"first_release_age_days":4742,"last_release_days_ago":117,"avg_days_between_releases":250,"release_velocity":"moderate"}}