| What it is | Temporary file and directory creator for Node.js | rm -rf for Node.js, cross-platform | Delete files and directories by glob in Node.js, with a promise API | Node.js fs with recursive mkdir, copy, remove and promises |
| Kind | Open source | Open source | Open source | Open source |
| Trust | 0.34 | 0.54 | 0.46 | 0.56 |
| Stars | 776 | 5859 | 1346 | 9592 |
| Last commit | 2026-05-27 | 2026-11-03 | 2026-10-08 | 2026-11-11 |
| Licence | MIT | BlueOak-1.0.0 | MIT | MIT |
| Pricing | Free and open source | Free and open source | Free and open source | Free and open source |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | — | — | — | — |
| Ways to run it | — | — | — | — |
| SOC 2 | — | — | — | — |
| HIPAA | — | — | — | — |
| SSO | — | — | — | — |
| API | — | — | — | — |
| Plugins | — | — | — | — |
| MCP server | — | — | — | — |
| Company | KARASZI István | Isaac Z. Schlueter | Sindre Sorhus | JP Richardson |
| Features | - temporary files and directories, async and sync APIs
- random names from crypto, or templates with a six-letter random identifier
- optional removal on process exit
- a custom temporary directory instead of the system one
| - async, sync and native APIs
- CLI for npm scripts
- Windows retries with backoff and move-then-remove fallback
- glob patterns
- AbortSignal support
- root deletion protection
| - deletes files and directories by glob patterns, with negations
- promise-based deleteAsync and synchronous deleteSync
- protects the working directory and its parents unless forced
- dry run that returns the paths it would delete
- concurrency limit and gitignore-aware exclusions
| - recursive copy, remove, move and mkdirs
- read and write JSON files
- promise support for every fs method
- drop-in replacement for fs
|
| Limitations | - Needs Node.js 14.14 or newer.
| - Deletes recursively by design: never pass it untrusted input, and security reports that rely on untrusted input are rejected
| - Glob patterns can only use forward slashes; Windows paths with glob characters need path.posix.join()
| |