isaacs/rimraf

Node.js 14.14.0 adds fs.rm & fs.rmSync support

SukkaW opened this issue · 1 comments

fs.rm, fs.rmSync and fsPromises.rm API has been added since Node.js 14.14.0.

Any idea to utilize those Node.js FS API in rimraf? e.g, when no fancy options like glob provided while fs.rm is available, use Node.js built-in FS API directly for better performance.

v4 uses these when available, and provides better fallbacks for the failures on Windows if you use rimraf.manual() explicitly.