23 open-source projects similar to bcoe/any-path, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Any Path alternative.
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
fs with incremental backoff on EMFILE
rimraf is a Node.js recursive file deletion tool and cross-platform filesystem utility. It provides both a programmatic library and a command-line interface for removing files and directories and all of their contained contents across different operating systems. The utility supports glob-based file deletion, allowing the removal of items that match specific wildcard patterns rather than just literal paths. It also includes the ability to abort deletion processes mid-execution and apply custom predicate-based filtering to exclude specific files or folders. The project covers broad filesystem
node-fs-extra is a Node.js file system extension that provides a set of additional methods to simplify common file and directory operations. It functions as a recursive directory manager, a JSON file processor, and a file asset manipulator, extending the standard library to provide high-level utilities for managing assets on disk. The project distinguishes itself through recursive capabilities, such as duplicating or removing nested folder structures and ensuring that all missing parent directories are automatically generated when creating files or symbolic links. It also integrates a JSON se
An inter-process and inter-machine lockfile utility that works on a local or network file system.
Like fs.createWriteStream(...), but atomic.
Flexible and fluent interface for searching the file system
Chokidar is a cross-platform file system monitoring library designed to provide a unified interface for tracking disk activity. It functions as a foundational utility for Node.js development environments, enabling applications to detect file additions, modifications, and deletions across diverse operating systems through a consistent event stream. The library distinguishes itself by normalizing inconsistent event signatures from various operating system kernels and implementing robust event debouncing logic. By buffering rapid sequences of file system events and waiting for a quiet period, it
Recursive version of fs.readdir. Exposes a stream API (with small RAM & CPU footprint) and a promise API.
Find a file or directory by walking up parent directories
User-friendly glob matching
Move a file, directory, or symlink - Even works across devices
Find the root directory of a Node.js project or npm package
Stringify and write JSON to a file atomically