{"library":"chokidar-cli","type":"library","category":null,"description":"Chokidar CLI is an ultra-fast, cross-platform command-line utility designed to watch file system changes and execute arbitrary commands or stream event output. It is built upon the robust and widely adopted `chokidar` library, which is known for its battle-tested stability and efficient file watching across various operating systems, handling quirks of `fs.watch` and `fs.watchFile` by normalizing events and supporting atomic/chunked writes. Currently at version 3.0.0, this tool provides a simple interface for developers to integrate automated tasks, such as compilation or testing, directly into their workflow upon file modifications. While the underlying `chokidar` library has seen recent updates (v4 and v5 as of late 2024/2025), `chokidar-cli` itself has not had a major release since v3.0.0 in July 2021, suggesting a slower release cadence for the CLI wrapper. Its key differentiators lie in abstracting the complexities of file system event handling and providing a straightforward command-line interface for common automation needs without requiring programmatic setup.","language":"javascript","status":"maintenance","version":"3.0.0","tags":["javascript","fs","watch","watchFile","watcher","watching","file","fsevents","chokidar"],"last_verified":"Wed May 27","install":[{"cmd":"npm install chokidar-cli","imports":["npm install -g chokidar-cli\n# Then use the 'chokidar' command in your terminal","npm install chokidar-cli\n# Then use in package.json scripts:\n# {\"scripts\": {\"watch:js\": \"chokidar \\\"**/*.js\\\" -c \\\"npm run build-js\\\"\"}}","chokidar \"src/**/*.less\" -c \"npm run build-less -- {path}\""]},{"cmd":"yarn add chokidar-cli","imports":[]},{"cmd":"pnpm add chokidar-cli","imports":[]}],"homepage":null,"github":"https://github.com/open-npm-tools/chokidar-cli","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/chokidar-cli","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/chokidar-cli/compatibility"}}