{"package":"counterpart","ecosystem":"npm","latest_version":"0.18.6","description":"A translation and localization library for Node.js and the browser","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/martinandert/counterpart","repository":"https://github.com/martinandert/counterpart","downloads_weekly":14600,"health":{"score":50,"risk":"high","breakdown":{"maintenance":0,"popularity":10,"security":23,"maturity":15,"community":2},"deprecated":false,"max_score":100},"vulnerabilities":{"count":1,"critical":0,"high":0,"medium":1,"low":0,"details":[{"vuln_id":"CVE-2025-57354","severity":"medium","summary":"counterpart vulnerable to prototype pollution","affected_versions":"<=0.18.6","fixed_version":null,"source":"osv","published_at":"2025-09-24T18:30:32Z","in_kev":false,"epss_prob":0.00764,"epss_percentile":0.73508,"threat_tier":"theoretical"}],"actively_exploited_count":0,"likely_exploited_count":0},"versions":{"latest":"0.18.6","total_count":38,"recent":["0.16.8","0.16.9","0.16.10","0.17.0","0.17.1","0.17.2","0.17.3","0.17.4","0.17.5","0.17.6","0.17.7","0.17.8","0.17.9","0.18.0","0.18.1","0.18.2","0.18.3","0.18.4","0.18.5","0.18.6"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2014-02-25T09:02:17.439Z","last_published":"2018-02-28T18:13:26.627Z","dependencies_count":5,"dependencies":["date-names","except","extend","pluralizers","sprintf-js"]},"github_stats":null,"bundle":{"size_kb":14.8,"gzip_kb":4.9,"dependency_count":5,"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/counterpart"},"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 (50/100) — verify manually"],"use_version":"0.18.6","version_hint":null,"summary":"counterpart@0.18.6 low health (50/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/counterpart","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/counterpart","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/counterpart","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 10 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"miss","_response_ms":621,"_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":4450,"last_release_days_ago":2985,"avg_days_between_releases":234,"release_velocity":"stale"}}