chokidar

Stabilized filesystem watcher for Node.js applications

EstablishedOpen SourceLow lock-in

Pricing

See website

Flat rate

Adoption

Stable

License

Open Source

Data freshness

Overview

What is chokidar?

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.

Key differentiator

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.

Capability profile

Strength Radar

Stabilizes event…Uses native `fse…Cross-platform c…Extensive testin…

Honest assessment

Strengths & Weaknesses

↑ Strengths

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

Fit analysis

Who is it for?

✓ Best 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

✕ Not a fit for

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

Cost structure

Pricing

Free Tier

None

Starts at

See website

Model

Flat rate

Enterprise

None

Performance benchmarks

How Fast Is It?

Next step

Get Started with chokidar

Step-by-step setup guide with code examples and common gotchas.

View Setup Guide →