{"package":"@yiiran/get-file-type","ecosystem":"npm","latest_version":"1.0.3","description":"Determine the file type of 'pdf,xls,xlsx,doc,docx,ppt,pptx' according to the file arraybuffer. File suffix or file name is not required. Further more, it can avoid wrong judgment by the falsy changes of file suffix.","license":"ISC","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/react-office-viewer/getFileTypeFromArrayBuffer#readme","repository":"https://github.com/react-office-viewer/getFileTypeFromArrayBuffer","downloads_weekly":0,"health":{"score":36,"risk":"critical","breakdown":{"maintenance":0,"popularity":0,"security":25,"maturity":9,"community":2},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"1.0.3","total_count":3,"recent":["1.0.1","1.0.2","1.0.3"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2023-01-17T02:24:36.762Z","last_published":"2023-01-19T03:11:26.225Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":4,"forks":1,"open_issues":0,"is_archived":false,"pushed_at":"2023-01-19T03:18:32Z","subscribers_count":1},"bundle":null,"typescript":{"score":0,"has_types":false,"types_source":null,"types_package":null},"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 (36/100) — verify manually"],"use_version":"1.0.3","version_hint":null,"summary":"@yiiran/get-file-type@1.0.3 low health (36/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/%40yiiran%2Fget-file-type","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40yiiran%2Fget-file-type","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40yiiran%2Fget-file-type","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 99 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":0,"_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":3,"first_release_age_days":null,"last_release_days_ago":1293,"avg_days_between_releases":null,"release_velocity":"stale"}}