Skip to content
JS
Package

validate-image-type

Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.

v3.0.0, 22 Oct 2023MITCommonJSTypes: BundledImage processing
$ npm install validate-image-type

Key numbers

As of 25 Sept 2026
Weekly downloads
2.2k
+6% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
2 years ago
v3.0.0
GitHub stars
18
2 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

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

2,236 downloads last week, 24,550 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
3.0.0, 22 Oct 20232 years ago
First published
-
Last push to GitHub
22 Oct 20231,068 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
21 kB
Dependencies (3)
is-svgfile-typeread-chunk
npm install validate-image-type
  • jsDelivrhttps://cdn.jsdelivr.net/npm/validate-image-type@3.0.0/
  • unpkghttps://unpkg.com/validate-image-type@3.0.0/
  • esm.shhttps://esm.sh/validate-image-type@3.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
imagemin873.3k-1 year agoESM only-
heic-convert1.1m-2 years agoCommonJS-
fast-png8.8m-9 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2236 < 10000.