Skip to content
JS
Package

file-type-mime

Utility to parse mime type from a file content

v0.4.9, 22 Sept 2026MITESM + CommonJSTypes: BundledVideo and audioPDF and documents
$ npm install file-type-mime

Key numbers

As of 25 Sept 2026
Weekly downloads
12.5k
+6% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 days ago
v0.4.9
GitHub stars
14
2 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
412

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30kSept 2025Mar 2026Sept 2026High 20.3k (3 Mar 2026)Low 4.7k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

12,524 downloads last week, 56,964 in the last month. The 12-month change of +6% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.4.9, 22 Sept 20262 days ago
First published
-
Last push to GitHub
24 Sept 20261 day before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
412
Dependents on npm
6

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
66 kB
Dependencies (0)
None
npm install file-type-mime
  • jsDelivrhttps://cdn.jsdelivr.net/npm/file-type-mime@0.4.9/
  • unpkghttps://unpkg.com/file-type-mime@0.4.9/
  • esm.shhttps://esm.sh/file-type-mime@0.4.9
PackageWeekly downloadsGzipLast releaseModuleComparison
file-type-checker74.9k-4 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.