CodeBrowser / npm / rimraf
rimraf@6.1.3
// A deep deletion module for node (like `rm -rf`)
$ npm install rimraf
downloads/wk
138,489,565
license
BlueOak-1.0.0
version
6.1.3
published
Feb 16, 2026
What is rimraf?
Rimraf is a Node.js module that recursively deletes files and directories, functioning as a cross-platform alternative to the Unix `rm -rf` command. Developers use it when they need to programmatically clean up directories and their contents in Node.js applications or build scripts, particularly for tasks like removing build artifacts, temporary files, or old dependencies.
Keywords
#rm #rm -rf #rm -fr #remove #directory #cli #rmdir #recursive
Dependencies (2)
Maintainers
isaacs