{"package":"first-line","ecosystem":"npm","latest_version":"5.0.0","description":"Get the first line of a file","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"","repository":"https://github.com/kenany/first-line","downloads_weekly":110,"health":{"score":70,"risk":"moderate","breakdown":{"maintenance":25,"popularity":3,"security":25,"maturity":15,"community":2},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"5.0.0","total_count":17,"recent":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","2.0.0","2.0.1","2.0.2","3.0.0","3.0.1","4.0.0","5.0.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2014-10-16T15:47:01.591Z","last_published":"2026-05-25T18:06:57.048Z","dependencies_count":2,"dependencies":["binary-split","once"]},"github_stats":{"stars":1,"forks":0,"open_issues":0,"is_archived":false,"pushed_at":"2026-09-22T21:56:49Z","subscribers_count":1},"bundle":{"size_kb":32.4,"gzip_kb":9.5,"dependency_count":2,"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":"safe_to_use","issues":[],"use_version":"5.0.0","version_hint":null,"summary":"first-line@5.0.0 is safe to use (health: 70/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/first-line","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/first-line","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/first-line","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}