{"package":"cp-file","ecosystem":"npm","latest_version":"11.0.0","description":"Copy a file","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/sindresorhus/cp-file#readme","repository":"https://github.com/sindresorhus/cp-file","downloads_weekly":1370195,"health":{"score":31,"risk":"critical","breakdown":{"maintenance":0,"popularity":17,"security":25,"maturity":15,"community":4},"deprecated":true,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"11.0.0","total_count":30,"recent":["3.0.0","3.0.1","3.1.0","3.2.0","4.0.0","4.0.1","4.1.0","4.1.1","4.2.0","5.0.0","6.0.0","6.1.0","6.2.0","7.0.0","8.0.0","8.0.1","9.0.0","9.1.0","10.0.0","11.0.0"]},"metadata":{"deprecated":true,"deprecated_message":"Renamed to copy-file","maintainers_count":1,"first_published":"2014-06-28T22:18:25.699Z","last_published":"2023-11-05T07:49:28.315Z","dependencies_count":3,"dependencies":["graceful-fs","nested-error-stacks","p-event"]},"github_stats":{"stars":123,"forks":23,"open_issues":0,"is_archived":false,"pushed_at":"2025-08-13T02:22:43+00:00"},"bundle":{"size_kb":16.6,"gzip_kb":5.5,"dependency_count":3,"has_js_module":false,"has_side_effects":true,"scoped":false,"source":"bundlephobia"},"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":"find_alternative","issues":["Moderate health score (31/100) — verify manually","Package is deprecated"],"use_version":"11.0.0","version_hint":null,"summary":"cp-file is deprecated — find an alternative","alternatives":[{"name":"copy-file","reason":"Deprecation notice: use copy-file","builtin":false}]},"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/cp-file","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/cp-file","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/cp-file","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}