Skip to content
JS
Package

react-image-file-resizer

React module that can rescaled local images. You can change image's width, height, format, rotation and quality. It returns resized image's new base64 URI or Blob. The URI can be used as the source of an <Image> component.

v0.4.8, 7 May 2022MITCommonJSTypes: BundledImage processingReact
$ npm install react-image-file-resizer

Key numbers

As of 25 Sept 2026
Weekly downloads
102.9k
+30% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v0.4.8
GitHub stars
336
42 forks
Open issues / PRs
23 / 9
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150k200kSept 2025Mar 2026Sept 2026High 153.2k (18 Aug 2026)Low 42k (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.

102,867 downloads last week, 471,187 in the last month. The 12-month change of +30% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.4.8, 7 May 20224 years ago
First published
-
Last push to GitHub
25 May 2024852 days before the snapshot
Repository archived
No
Open issues
23
Open pull requests
9
Commits, last 52 weeks
0
Dependents on npm
86

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)
17 kB
Dependencies (0)
None
npm install react-image-file-resizer
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-image-file-resizer@0.4.8/
  • unpkghttps://unpkg.com/react-image-file-resizer@0.4.8/
  • esm.shhttps://esm.sh/react-image-file-resizer@0.4.8
PackageWeekly downloadsGzipLast releaseModuleComparison
antd-img-crop69.9k-6 months agoESM + CommonJS-
react-avatar-editor543.8k-6 months agoESM + CommonJS-
next-optimized-images9.7k-6 years agoCommonJS-
pica563.2k-1 month agoESM + CommonJS-
image-blob-reduce460.7k-2 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.