{"package":"@turf/clusters-kmeans","ecosystem":"npm","latest_version":"7.4.0","description":"Takes a set of points and partition them into clusters using the k-means algorithm.","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/Turfjs/turf","repository":"https://github.com/Turfjs/turf","downloads_weekly":1408640,"health":{"score":87,"risk":"low","breakdown":{"maintenance":20,"popularity":17,"security":25,"maturity":12,"community":13,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"7.4.0","total_count":41,"recent":["7.0.0-alpha.1","7.0.0-alpha.2","7.0.0-alpha.110","7.0.0-alpha.111","7.0.0-alpha.113","7.0.0-alpha.114","7.0.0-alpha.115","7.0.0-alpha.116","7.0.0","7.1.0-alpha.7","7.1.0-alpha.70","7.1.0","7.2.0","7.3.0","7.3.1","7.3.2","7.3.3","7.3.4","7.3.5","7.4.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":8,"first_published":"2017-07-27T20:25:34.573Z","last_published":"2026-08-03T15:30:26.521Z","dependencies_count":7,"dependencies":["tslib","skmeans","@turf/meta","@turf/clone","@turf/helpers","@types/geojson","@turf/invariant"]},"github_stats":{"stars":10358,"forks":1001,"open_issues":301,"is_archived":false,"pushed_at":"2026-05-02T18:23:05+00:00"},"bundle":null,"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":"7.4.0","version_hint":null,"summary":"@turf/clusters-kmeans@7.4.0 is safe to use (health: 87/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/%40turf%2Fclusters-kmeans","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40turf%2Fclusters-kmeans","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40turf%2Fclusters-kmeans","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 107 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"},"co_used_with":[{"package":"@anzerr/clone.util","occurrences":7}],"version_history_summary":{"total_versions":20,"first_release_age_days":3338,"last_release_days_ago":44,"avg_days_between_releases":176,"release_velocity":"active"}}