# 使用 npm 安装 image-dimensions

查看 image-dimensions 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:image-dimensions
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g image-dimensions
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:image-dimensions
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/image-dimensions>
- **版本:** 2.5.1
- **来源摘要:** Get the dimensions of an image
- **主页:** <https://github.com/sindresorhus/image-dimensions#readme>
- **仓库:** <https://github.com/sindresorhus/image-dimensions>
- **上游文档:** <https://github.com/sindresorhus/image-dimensions#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/image-dimensions/-/image-dimensions-2.5.1.tgz>
- **问题跟踪器:** <https://github.com/sindresorhus/image-dimensions/issues>
- **发布时间:** 2026-05-12T15:24:23.399Z
- **最后更新:** 2026-05-12T15:24:23.399Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- image-dimensions (cli)
- image-dimensions (别名)

## 构建依赖

- ava
- typescript
- xo

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.5.1
- 管理器更新时间: 2026-05-12
- 本地数据: OK
- 上游仓库: https://github.com/sindresorhus/image-dimensions
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 image-dimensions 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.5.1
- **Version Count:** 8
- **Maintainers:** sindresorhus
- **Author:** Sindre Sorhus
- **Publisher:** sindresorhus
- **Engines:** Node: >=18
- **Funding:** <https://github.com/sponsors/sindresorhus>
- **Integrity:** sha512-It7CkTNp7IYA8jhvGgz8K18OAbHF3/Juk8RNEyTyMFfolJOIU1Y2wGDnzDQPbGCjyxVF/++pwIZE0BKJUEOb1g==
- **Shasum:** cb9e2a959aa4a0a2938079f50e7129f6354fbf21
- **Unpacked Size:** 19,454
- **File Count:** 0
- **Created At:** 2015-04-14T05:36:16.051Z
- **Latest Published At:** 2026-05-12T15:24:23.399Z
- **Modified At:** 2026-05-12T15:24:23.507Z


## 相关链接

- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched curated package taxonomy and local package facts.
- [image-size](https://www.automicvault.com/zh-hans/pkg/npm/image-size/) - Both packages work with overlapping file formats or content types. Shared terms: dimensions, get, height, image, resolution.
- [image-data-uri](https://www.automicvault.com/zh-hans/pkg/npm/image-data-uri/) - Both packages work with overlapping file formats or content types. Shared terms: data, image.
- [imagemin-cli](https://www.automicvault.com/zh-hans/pkg/npm/imagemin-cli/) - Both packages work with overlapping file formats or content types. Shared terms: cli-app, get, image, png, uint8array.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
