Skip to content
JS
Package

image-size

get dimensions of any image file

v2.0.4, 14 Sept 2026MITESM + CommonJSTypes: BundledImage processing
$ npm install image-size

Key numbers

As of 25 Sept 2026
Weekly downloads
23.1m
+93% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
10 days ago
v2.0.4
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 35.5m (28 Jul 2026)Low 8m (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.

23,057,411 downloads last week, 120,574,172 in the last month. The 12-month change of +93% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
267 in total
Latest version
2.0.4, 14 Sept 202610 days ago
First published
2 Jul 2013
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
2,874

Major versions

  1. v2 first release 2.0.0, 25 Feb 2025
  2. v1 first release 1.0.0, 14 Apr 2021
  3. v0 first release 0.0.2, 2 Jul 2013

Recent releases

VersionPublished
2.0.414 Sept 2026
2.0.314 Sept 2026
1.2.12 Apr 2025
2.0.22 Apr 2025
2.0.113 Mar 2025
2.0.025 Feb 2025
1.2.022 Dec 2024
1.1.12 Jan 2024
1.1.028 Dec 2023
1.0.212 Jul 2022
1.0.110 Jan 2022
1.0.014 Apr 2021
0.9.715 Mar 2021
0.9.615 Mar 2021
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
93 kB
Dependencies (0)
None
npm install image-size
  • jsDelivrhttps://cdn.jsdelivr.net/npm/image-size@2.0.4/
  • unpkghttps://unpkg.com/image-size@2.0.4/
  • esm.shhttps://esm.sh/image-size@2.0.4
PackageWeekly downloadsGzipLast releaseModuleComparison
buffer-image-size6.7m-8 years agoCommonJS-
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.