# 使用 npm 安装 onchange

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

## 安装

```sh
sudo av install npm:onchange
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g onchange
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:onchange
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/onchange>
- **版本:** 7.1.0
- **来源摘要:** Use glob patterns to watch file sets and run a command when anything is added, changed or deleted.
- **主页:** <https://github.com/Qard/onchange>
- **仓库:** <https://github.com/Qard/onchange>
- **上游文档:** <https://github.com/Qard/onchange>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/onchange/-/onchange-7.1.0.tgz>
- **问题跟踪器:** <https://github.com/Qard/onchange/issues>
- **发布时间:** 2020-10-22T00:54:16.861Z
- **最后更新:** 2020-10-22T00:54:16.861Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- onchange (cli)
- onchange (别名)

## 依赖

- @blakeembrey/deque
- @blakeembrey/template
- arg
- chokidar
- cross-spawn
- ignore
- tree-kill

## 构建依赖

- @types/cross-spawn
- @types/node
- husky
- lint-staged
- prettier
- rimraf
- typescript

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepare
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 7.1.0
- 管理器更新时间: 2020-10-22
- 本地数据: OK
- 上游仓库: https://github.com/Qard/onchange
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 7.1.0
- **Version Count:** 39
- **Maintainers:** blakeembrey, qard
- **Author:** Stephen Belanger
- **Publisher:** blakeembrey
- **Integrity:** sha512-ZJcqsPiWUAUpvmnJri5TPBooqJOPmC0ttN65juhN15Q8xA+Nbg3BaxBHXQ45EistKKlKElb0edmbPWnKSBkvMg==
- **Shasum:** a6f0f7733e4d47014b4cd70aa1ad36c2b4cf3804
- **Unpacked Size:** 41,683
- **File Count:** 0
- **Created At:** 2014-01-18T08:55:36.116Z
- **Latest Published At:** 2020-10-22T00:54:16.861Z
- **Modified At:** 2023-04-05T02:08:55.970Z


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched curated package taxonomy and local package facts.
- [pathpida](https://pkg.so/zh-hans/npm/pathpida/) - Local package facts share a topical domain. Shared terms: chokidar, cli, filesystem, ignore, system.
- [recursive-watch](https://pkg.so/zh-hans/npm/recursive-watch/) - Local package facts share a topical domain. Shared terms: cli, file, filesystem, system, system-tools.
- [path-exists-cli](https://pkg.so/zh-hans/npm/path-exists-cli/) - Local package facts share a topical domain. Shared terms: cli, file, filesystem, system, system-tools.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
