# Install onchange with npm

Use glob patterns to watch file sets and run a command when anything is added, changed or deleted. Version 7.1.0 via npm; verified 2020-10-22.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:onchange
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/onchange>
- **Version:** 7.1.0
- **Source summary:** Use glob patterns to watch file sets and run a command when anything is added, changed or deleted.
- **Homepage:** <https://github.com/Qard/onchange>
- **Repository:** <https://github.com/Qard/onchange>
- **Upstream docs:** <https://github.com/Qard/onchange>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/onchange/-/onchange-7.1.0.tgz>
- **Issue tracker:** <https://github.com/Qard/onchange/issues>
- **Published:** 2020-10-22T00:54:16.861Z
- **Last updated:** 2020-10-22T00:54:16.861Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- onchange (cli)
- onchange (alias)

## Dependencies

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

## Build dependencies

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

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.1.0
- Package-manager updated: 2020-10-22
- Local data: ok
- Upstream repository: https://github.com/Qard/onchange
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for onchange. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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


## Related links

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

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
