# chokidar: 7.9 out of 10

A strong pick. 2nd of 9 in [Globs and file watching](https://elestia.ai/opensource/files/index.md).

Chokidar is the standard cross-platform file watcher for Node.js. Version 6.0.0 (October 2026) rewrote the watcher around a pipeline that confirms each event and added native recursive watching. It has one dependency and no known advisories, and it is still the safe default for a new project that needs file watching. The catches are a major release with breaking changes every year and a minimum of Node 22.22.

**Best for:** Authors of CLIs, dev servers and build tools who need reliable change events on macOS, Linux and Windows from a small, typed library.

## Scores

- **Overall: 7.9** (likely 6.9 to 8.7)
  - Claude Opus 5.5 (8.0): It is the default choice for file watching in Node: well maintained, lean, safe and used everywhere. v6 improves how correct its events are. The yearly breaking majors, the Node 22.22 floor and fresh v6 bugs keep it from 9. For huge monorepos, @parcel/watcher can do better.
  - GPT-6.2 Sol (7.8): Chokidar is a strong pick for a scoped watch on modern Node.js when you want typed events and a pure JavaScript install. Parcel Watcher is the stronger choice for change queries across restarts and has better independent evidence for large-tree startup. The recent rewrite, fixes still awaiting release, and below-median download growth keep Chokidar short of a default recommendation across the category.
- **Needed by many: 4.9** (likely 3.8 to 6.0)
  - Claude Opus 5.5 (5.0): File watching is needed mostly by people who write dev servers, CLIs, build tools and watch scripts. Most app developers only use it through their tooling. It covers only the watching part of the category's job, not globbing, copying or deleting. It runs on Node only, though it works on every OS.
  - GPT-6.2 Sol (4.8): Recursive watching serves dev servers, build tools, CLIs, and local automation across the major desktop platforms. Many application developers get it through their tooling, and Chokidar covers only the watching part of this category. Runtime surveys show how common Node.js is, while demand for a separate watcher is harder to measure.
- **Helps a lot: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (7.5): v6 rewrote the core so that every event is checked against the file system before it is emitted. It added native recursive watching on macOS and Windows, its own stat polling, and typed events. Glob support is gone, and @parcel/watcher is faster on huge trees. A new major release brings fresh edge-case bugs, which keeps the range wide.
  - GPT-6.2 Sol (8.0): Typed events and clear examples make common watch tasks easy to implement, including atomic saves and chunked writes. Version 6 adds native recursive watching by default on macOS and Windows, and fixes several missed-event cases. Users have reported v6.0.0 bugs involving Electron timers and symlink replacement. Independent Linux tests favor Parcel for large-tree startup on v5, so large-tree performance on the rewritten v6 remains less certain.
- **Holds up over time: 7.4** (likely 6.3 to 8.5)
  - Claude Opus 5.5 (7.5): The project has been maintained since 2012. It shipped a major release in October 2026 and has only 5 open issues against 1014 closed. Paul Miller maintains it and an active e18e co-maintainer helps, but no funding is visible. The yearly breaking majors and the fast-rising minimum Node version put pressure on downstream tools, and the postcss-cli maintainers hesitated over the Node bump in v5.
  - GPT-6.2 Sol (7.3): Chokidar had 28 commits and two releases over the past year, and maintainers merged fixes for both reported v6 regressions within days. Major upgrades have removed glob support, raised Node.js requirements, and changed watcher behavior. Recent releases are led by one maintainer, with donations solicited and limited public evidence of who else can publish.
- **Used widely: 8.3** (likely 7.2 to 9.1)
  - Claude Opus 5.5 (9.0): It had about 1.1 billion downloads in 4 weeks and 1.1 million dependent repositories. That makes it the most used watcher by far, although most installs come through other tools. Downloads grew 2.9x in a year, below the 4.1 median, and @parcel/watcher grew 4.2x, so chokidar is slowly losing share even though it still dominates.
  - GPT-6.2 Sol (7.5): The collector found 1.12 million dependent repositories, about ten times Parcel Watcher's count and below several glob and file-operation peers. The 1.12 billion four-week downloads include repeated installs and indirect use through tools such as nodemon. Downloads grew 2.92× year over year, below the catalog median of 4.1× and Parcel Watcher's 4.16×. That signals lost ground on the catalog baseline, and the number of new projects choosing Chokidar directly remains uncertain.
- **Vouched for: 7.7** (likely 6.5 to 8.8)
  - Claude Opus 5.5 (8.0): Major frameworks and tools build on it, including Angular CLI, Sass and the unjs/Nuxt config loaders. Comparison sites treat it as the reference watcher. Surveys do not track watchers, and independent benchmarks are old, so the score rests on current use by major projects.
  - GPT-6.2 Sol (7.3): Vite and nodemon still build on Chokidar v3, which shows that independent tool maintainers trust its watching behavior. Two independent Linux evaluations of v5 documented strengths in save-event latency or detecting changes in newly added directories. The strongest downstream evidence covers older majors, and the build-tool survey provides no direct Chokidar satisfaction measure.
- **Safe: 8.7** (likely 7.6 to 9.6)
  - Claude Opus 5.5 (8.5): It has no advisories ever, a single dependency and an MIT licence. Since v5 it publishes to npm through token-less Trusted Publishing. No Scorecard is available. Typosquats of its name have carried malicious code, but the real package was never compromised.
  - GPT-6.2 Sol (8.8): The MIT-licensed package has one runtime dependency, and the OSV snapshot lists zero advisories. Version 6 uses a signed release tag and a pinned GitHub Actions workflow for npm Trusted Publishing. The missing OpenSSF Scorecard and limited visibility into publisher access leave some uncertainty.

## Good

- Only one dependency (readdirp) and no known advisories, after v4 cut the dependency count from 13 to 1.
- In v6, events are confirmed with lstat, stat or readdir before they are emitted, and editors that save through a temp file and rename produce a single change event.
- It has a choice of backends (native, native-recursive, polling) and precise TypeScript types for its events.
- Angular CLI, Sass, Nuxt/c12 and a very large number of dev tools already rely on it, so its edge cases are well known.

## Bad

- It has shipped a major version with breaking changes every year: v4 removed globs, v5 went ESM-only and v6 renamed options and requires Node 22.22 or later.
- It has no glob support since v4, so you need tinyglobby or the `ignored` option alongside it.
- On very large trees it is slower to start and uses more memory than the native @parcel/watcher.
- Several fresh v6 bugs are open, such as BigIntStats on Windows and case-only renames, and the 5.x line has no clear backport policy.

## The numbers

- Downloads, 4 weeks: 1.1B
- In a year: ×2.9
- GitHub stars: 12k
- Commits, 12 months: 28
- Last npm release: Oct 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/paulmillr/chokidar
- npm: https://www.npmjs.com/package/chokidar

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
