30 open-source projects similar to bevry/istextorbinary, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Istextorbinary alternative.
Find a file or directory by walking up parent directories
User-friendly glob matching
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
Move a file, directory, or symlink - Even works across devices
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
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
Create a hash checksum over a folder or a file. The hashes are propagated upwards, the hash that is returned for a folder is generated over all the hashes of its children. The hashes are generated with the sha1 algorithm and returned in base64 encoding by default.
An inter-process and inter-machine lockfile utility that works on a local or network file system.
This package provides methods for traversing the file system and returning pathnames that matched a defined set of a specified pattern according to the rules used by the Unix Bash shell with some simplifications, meanwhile results are returned in arbitrary order. Quick, simple, effective.
Like fs.createWriteStream(...), but atomic.
Recursive version of fs.readdir. Exposes a stream API (with small RAM & CPU footprint) and a promise API.
Find the root directory of a Node.js project or npm package
The os.tmpdir() built-in doesn't return the real path. That can cause problems when the returned path is a symlink, which is the case on macOS. Use this module to get the resolved path.
Stringify and write JSON to a file atomically
npm-url: https://www.npmjs.com/package/memfs npm-badge: https://img.shields.io/npm/v/memfs.svg
Synchronize files and folders locally by glob patterns, watch option included.
Think cp -r, but pure node, and asynchronous. ncp can be used both as a CLI tool and programmatically.