awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
isaacs avatar

isaacs/rimraf

0
View on GitHub↗
5,846 stars·266 forks·TypeScript·BlueOak-1.0.0·23 views

Rimraf

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 management capabilities including recursive depth-first traversal, cross-platform path normalization, and asynchronous I/O. These features enable tasks such as automated build artifact removal and general project workspace cleanup.

Features

  • File Deletions - Provides a command-line interface for executing recursive file and folder deletions with interactive confirmation.
  • Programmatic File Operations - Provides a programmatic API for managing disk space and directory structures within Node.js applications.
  • Cross-Platform Path Manipulation - Provides utilities to normalize file path separators and formats for consistent deletion across Windows, macOS, and Linux.
  • File Pattern Matching - Identifies target files for deletion using wildcard and recursive glob patterns.
  • Glob Pattern Selectors - Supports removing files and directories that match specific glob patterns instead of literal paths.
  • Cross-Platform File Operations - Provides consistent recursive directory removal and file operations across different operating systems.
  • Recursive Deletion - Implements recursive removal of folders and all their contained contents across different operating systems.
  • Asynchronous File I/O - Implements non-blocking filesystem operations using Node.js asynchronous APIs to prevent event loop stalls.
  • Recursive Directory Traversers - Performs depth-first traversal of directory trees to ensure child items are removed before their parent folders.
  • Filesystem Path Filtering - Allows using custom boolean functions to selectively exclude specific files or folders from being deleted.
  • Build Artifact Cleaners - Facilitates the clearing of temporary directories and build outputs to ensure a fresh development state.
  • CLI File Managers - Ships as a command-line utility for executing deep file deletions with interactive confirmation.
  • Glob-Based Deletion Utilities - Provides a specialized tool for removing files and directories based on glob patterns within Node.js projects.
  • Pattern-Based File Deletions - Enables the removal of groups of files and directories matching specific glob patterns to clean project workspaces.
  • Deletion Predicates - Provides a mechanism to evaluate custom boolean predicates against paths to exclude specific items from deletion.
  • File System Utilities - Recursive file deletion.
  • Cross-Platform Utilities - Deletes files or directories like rm -rf.
  • File System - Performs deep file system deletion.
  • Filesystem Utilities - Cross-platform file and directory deletion.

Star history

Star history chart for isaacs/rimrafStar history chart for isaacs/rimraf

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does isaacs/rimraf do?

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.

What are the main features of isaacs/rimraf?

The main features of isaacs/rimraf are: File Deletions, Programmatic File Operations, Cross-Platform Path Manipulation, File Pattern Matching, Glob Pattern Selectors, Cross-Platform File Operations, Recursive Deletion, Asynchronous File I/O.

Which projects share features with isaacs/rimraf?

Projects with overlapping indexed features include: jprichardson/node-fs-extra — node-fs-extra is a Node.js file system extension that provides a set of additional methods to simplify common file and… actions/toolkit — The GitHub ToolKit for developing GitHub Actions. isaacs/node-glob — node-glob is a Node.js library for finding and matching files and directories using glob patterns. It functions as a… symfony/filesystem — This is a PHP filesystem utility library that provides tools for manipulating files, directories, and symbolic links.… sebastianbergmann/php-file-iterator — This project provides a PHP implementation of a filesystem iterator designed to filter collections of files based on… johanneslumpe/react-native-fs — This project is a cross-platform mobile filesystem API that provides a native bridge for reading, writing, and…

Projects sharing features with Rimraf

These projects share indexed features with Rimraf. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • jprichardson/node-fs-extrajprichardson avatar

    jprichardson/node-fs-extra

    9,610View on GitHub↗

    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

    JavaScriptcopydeletefilesystem
    View on GitHub↗9,610
  • actions/toolkitactions avatar

    actions/toolkit

    5,772View on GitHub↗

    The GitHub ToolKit for developing GitHub Actions.

    TypeScript
    View on GitHub↗5,772
  • isaacs/node-globisaacs avatar

    isaacs/node-glob

    8,710View on GitHub↗

    node-glob is a Node.js library for finding and matching files and directories using glob patterns. It functions as a filesystem traversal tool and path resolution library, enabling the identification of entries within directory trees based on specific search criteria. The project features a virtual filesystem interface, allowing native filesystem methods to be replaced with custom objects. This enables pattern matching against mocked data or non-native storage systems. The toolkit covers a broad range of filesystem operations, including recursive directory traversal, path normalization acros

    TypeScript
    View on GitHub↗8,710
  • sebastianbergmann/php-file-iteratorsebastianbergmann avatar

    sebastianbergmann/php-file-iterator

    7,492View on GitHub↗

    This project provides a PHP implementation of a filesystem iterator designed to filter collections of files based on naming conventions and custom rule sets. It functions as a specialized utility that extends the standard library to include or exclude files from a collection during iteration. The tool isolates target files by applying prefix and suffix filtering, as well as custom exclusion rules. It supports recursive directory traversal, allowing the application of these filters at every level of a deep folder scan. The project covers broader filesystem management capabilities, specificall

    PHP
    View on GitHub↗7,492
  • Compare all 30 related projects→