Frontend Frameworks

chokidar

Stabilized filesystem watcher for Node.js applications

Status
Generally available
Last checked
Checked · Oct 6, 2026
License
Open source
Pricing
Free tier · from $0

What it is

Chokidar is a powerful and reliable file system watcher that stabilizes events from `fs.watch` and `fs.watchFile`, providing robust event handling across different platforms, including macOS.

Chokidar stands out by providing consistent and reliable filesystem event handling across different platforms, stabilizing the inconsistencies found in `fs.watch` and `fs.watchFile`, making it a preferred choice for developers working with Node.js.

When it fits — and when it doesn’t

A good fit for

  • Developers building applications that require reliable filesystem event handling across different platforms

  • Teams working with Node.js and TypeScript who need a robust solution for watching files

Look elsewhere if

  • Projects requiring real-time streaming of file changes without any delay or stabilization

  • Applications where native OS-level file system events are sufficient without additional stabilization

Known weaknesses

Each one links to the public issue, changelog or docs page it came from, where we have one.

  1. 01

    Limited cross-platform reliability

    Performance and event handling can still vary significantly across different operating systems despite its efforts to standardize.

  2. 02

    Complex setup for large projects

    Configuring Chokidar for complex directory structures or multiple file types requires a deep understanding of its API and event handling mechanisms.

  3. 03

    High memory usage in large-scale applications

    Monitoring numerous files simultaneously can lead to increased memory consumption, affecting performance in resource-constrained environments.

What it does well

  • Stabilizes events from `fs.watch` and `fs.watchFile`

  • Uses native `fsevents` on macOS for better performance

  • Cross-platform compatibility with consistent event handling

  • Extensive testing across various environments

Pricing

Free tier
YesOpen source — free to use
Paid from
$0
Model
Flat rate
Enterprise plan
No

Pricing not independently confirmed — check the vendor’s page.

Performance benchmarks

How Fast Is It?

Set up chokidar

Setup steps, common gotchas and what to check after 30 days.

Open the setup guide →