Klaw is a fast, asynchronous JavaScript library for traversing file system trees. It's designed to be highly configurable, offering control over recursion depth, file filtering, and concurrency, maximizing performance. Ideal for tasks like building indexes, finding specific file types, or performing batch operations on directories, Klaw utilizes streams for efficient memory management, even with extremely large file systems. Provides flexibility and speed for diverse file system traversal needs.
The npm package klaw has seen sporadic releases since October 2015. Initial releases were frequent, but slowed significantly after 2018. Version 4.0 was released in September 2021, and version 4.1.0 in December 2022. There have been no releases in 2023, 2024, or 2025 (up to September 12th). The package appears to be in a period of low activity.
Klaw npm package downloads saw fluctuations from March 2024 to September 2025. Downloads peaked in June 2025 at 26.9 million. There was a surge between April and June 2025, followed by a decrease in August. September 2025 downloads are incomplete and significantly lower.