npm · npm:image-size
image-size active
get dimensions of any image file
The latest stable version of image-size is 2.1.0, published on 2026-11-06. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.1.0 |
|---|---|
| Published | 2026-11-06 11:31:18 UTC |
| Install | npm install image-size@latest |
| Requires (engines) | {"node":">=18"} |
| Peer dependencies | — |
| Dist-tags | latest: 2.1.0 legacy: 1.2.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:15:36 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "image-size", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/image-size . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-14 16:38:44 UTC · 59 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 73 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.4 | 2026-09-14 16:38:44 UTC |
2.0.3 | 2026-09-14 15:57:47 UTC |
1.2.1 | 2025-04-02 14:30:29 UTC |
2.0.2 | 2025-04-02 14:22:29 UTC |
2.0.1 | 2025-03-13 11:03:59 UTC |
2.0.0 | 2025-02-25 11:47:11 UTC |
1.2.0 | 2024-12-22 04:00:49 UTC |
1.1.1 | 2024-01-02 15:16:15 UTC |
1.1.0 | 2023-12-28 12:03:33 UTC |
1.0.2 | 2022-07-12 14:40:59 UTC |
1.0.1 | 2022-01-10 19:12:20 UTC |
1.0.0 | 2021-04-14 17:14:34 UTC |
0.9.7 | 2021-03-15 12:22:49 UTC |
0.9.6 | 2021-03-15 12:14:31 UTC |
0.9.5 | 2021-03-11 12:23:11 UTC |
0.9.4 | 2021-02-24 13:40:01 UTC |
0.9.3 | 2020-10-26 16:46:46 UTC |
0.9.2 | 2020-10-19 12:30:09 UTC |
0.9.1 | 2020-09-03 09:55:44 UTC |
0.8.3 | 2019-09-30 10:49:39 UTC |
Showing the 20 most recent of 67 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 2.0.2 |
node 18 | 2.0.4 |
node 20 | 2.0.4 |
node 22 | 2.0.4 |
node 24 | 2.0.4 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of image-size?
The latest stable version of image-size is 2.1.0, published on 2026-11-06. Verified by Vigia on 2026-11-12.
How do I install the latest version of image-size?
Run npm install image-size@latest. The latest stable version is 2.1.0 (verified 2026-11-12).
Is image-size deprecated?
No. image-size is not marked as deprecated in the registry.
Which Node.js version does image-size require?
image-size 2.1.0 declares this requirement: {"node":">=18"}.
Does image-size 2.1.0 have known vulnerabilities?
No known advisories affect image-size 2.1.0 according to the data Vigia checks.
Is image-size still maintained?
image-size published 2 stable releases in the last 12 months; the most recent was 59 days ago. Activity: active.
Observed changes
- Fri Nov 06 2026 13:06:41 GM +0000 (Coordinated Universal Time) — released 2.1.0 → 2.1.0
- Fri Nov 06 2026 11:36:36 GM +0000 (Coordinated Universal Time) — released 2.0.4 → 2.1.0
Related packages
- @radix-ui/react-toast
- @types/graceful-fs
- pg
- unist-util-position
- camel-case
- stringify-entities
- @babel/plugin-transform-typeof-symbol
- @octokit/endpoint
- motion-utils
- husky
- @next/env
- exit
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/image-size) [](https://vigia.coredls.cloud/npm/image-size) [](https://vigia.coredls.cloud/npm/image-size)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/image-size
GET https://vigia.coredls.cloud/v1/packages/npm/image-size/versions/{version}