Package
image-size
get dimensions of any image file
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
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
- v2 first release 2.0.0, 25 Feb 2025
- v1 first release 1.0.0, 14 Apr 2021
- v0 first release 0.0.2, 2 Jul 2013
Recent releases
| Version | Published |
|---|---|
| 2.0.4 | 14 Sept 2026 |
| 2.0.3 | 14 Sept 2026 |
| 1.2.1 | 2 Apr 2025 |
| 2.0.2 | 2 Apr 2025 |
| 2.0.1 | 13 Mar 2025 |
| 2.0.0 | 25 Feb 2025 |
| 1.2.0 | 22 Dec 2024 |
| 1.1.1 | 2 Jan 2024 |
| 1.1.0 | 28 Dec 2023 |
| 1.0.2 | 12 Jul 2022 |
| 1.0.1 | 10 Jan 2022 |
| 1.0.0 | 14 Apr 2021 |
| 0.9.7 | 15 Mar 2021 |
| 0.9.6 | 15 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- jsDelivr
https://cdn.jsdelivr.net/npm/image-size@2.0.4/ - unpkg
https://unpkg.com/image-size@2.0.4/ - esm.sh
https://esm.sh/image-size@2.0.4
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| buffer-image-size | 6.7m | - | 8 years ago | CommonJS | - |
Indexability: Not indexed (discovery only): GitHub data not fetched yet.