depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access

Related on DepScope

Alternatives
  • isbinaryfile— Detects if a file is binary in Node.js. Similar to Perl's -B
  • is-binary— Detects if a file is binary based on its content
More
  • All npm packages →
  • Breaking changes index →
  • Bug index →
  • AI hallucination corpus →
depscope/npm/detect-file

detect-file

npmv1.0.0

Detects if a file exists and returns the resolved filepath.

License MITpermissive2 versions2 maintainers0 deps8,595,734 weekly dl
doowb/detect-file
57
/ 100
Health
use with caution

[email protected] low health (57/100) — consider alternatives

  • Moderate health score (57/100) — verify manually
Health breakdown0 – 100
0/25
maintenance
17/20
popularity
25/25
security
12/15
maturity
3/15
community
0/15
popularity_floor
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

0.8 KBminified
0.4 KB gzipped
0 direct dependencies
side effects
🌟

TypeScript

7/10typed
Types from @types/detect-file (DefinitelyTyped)
Quality signals
Publish security
npm signed

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/detect-file
More from npm
?semverminimatchdebugbrace-expansionstrip-ansi
Browse all npm packages →

First published · 2016-07-06T21:49:09.925Z

Last updated · 2017-08-06T03:09:20.319Z

DepScope

Package intelligence for AI agents. 19 ecosystems.

Resources
API DocumentationHallucination BenchmarkFor EnterpriseSwagger / OpenAPIPopular PackagesCoverageAI Plugin SetupWatch the pitch (60s)
Legal
Legal hubPrivacy PolicyTerms of ServiceCookie PolicyAcceptable UseAttributionDPASub-processorsSecurityImprintContact中文
© 2026 Cuttalo srl — Italy · VAT IT03242390734Built for AI agents