file-type
npmv22.0.1Detect the file type of a file, stream, or data
License MITpermissive169 versions1 maintainers4 deps
sindresorhus/file-type72
/ 100
Health
safe to use
[email protected] is safe to use (health: 72/100)
Health breakdown0 – 100
25/25
maintenance
0/20
popularity
25/25
security
15/15
maturity
7/15
community
Vulnerabilities
0
none known
Bundle & TypeScript
📦
Bundle Size
61.6 KBminified
17.9 KB gzipped
4 direct dependencies
🌟
TypeScript
7/10typed
Types from
@types/file-type (DefinitelyTyped)Quality signals
OSS Criticality
0.75critical
Download trend
stable(-1.3%)
Publish security
npm signed
Health History
Dependency Tree
License Audit
Dependencies (4)
API access
Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/npm/file-typeFirst published · 2014-04-24T11:06:04.434Z
Last updated · 2026-04-09T15:24:14.218Z