Package
validate-image-type
Check the image file of a Buffer/Uint8Array that matched expected image MIME-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
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- jsDelivr
https://cdn.jsdelivr.net/npm/validate-image-type@3.0.0/ - unpkg
https://unpkg.com/validate-image-type@3.0.0/ - esm.sh
https://esm.sh/validate-image-type@3.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| imagemin | 873.3k | - | 1 year ago | ESM only | - |
| heic-convert | 1.1m | - | 2 years ago | CommonJS | - |
| fast-png | 8.8m | - | 9 months ago | ESM only | - |
Indexability: Not indexed (discovery only): downloads_week 2236 < 10000.