{"package":"sloc","ecosystem":"npm","latest_version":"0.3.2","description":"sloc is a simple tool to count SLOC (source lines of code)","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/flosse/sloc#readme","repository":"https://github.com/flosse/sloc","downloads_weekly":42395,"health":{"score":69,"risk":"moderate","breakdown":{"maintenance":15,"popularity":10,"security":25,"maturity":15,"community":4},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"0.3.2","total_count":25,"recent":["0.0.6","0.0.7","0.0.8","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.1.10","0.1.11","0.2.0","0.2.1","0.3.0","0.3.1","0.3.2"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2012-07-28T12:30:59.400Z","last_published":"2024-02-06T01:59:16.743Z","dependencies_count":4,"dependencies":["async","cli-table","commander","readdirp"]},"github_stats":{"stars":968,"forks":81,"open_issues":41,"is_archived":false,"pushed_at":"2025-11-15T10:34:17Z","subscribers_count":21},"bundle":{"size_kb":6.0,"gzip_kb":2.5,"dependency_count":4,"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/sloc"},"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 (69/100) — verify manually"],"use_version":"0.3.2","version_hint":null,"summary":"sloc@0.3.2 low health (69/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/sloc","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/sloc","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/sloc","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 14 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"miss","_response_ms":882,"_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":5028,"last_release_days_ago":818,"avg_days_between_releases":265,"release_velocity":"stale"}}