Node.js: extra methods for the fs object like copy(), remove(), mkdirs()
<!-- First ensure you installed the latest version of fs-extra --> <!-- If your bug still exists please fill out the following information if it applies to your issue: --> <!-- Please check if you have installed a supported version of Node.js as written in "engines" in the package.json --> - **Operating System:** NixOS 23.11 (Tapir) - **Node.js version:**v20.9.0 - **`fs-extra` version:**11.2.0 I have encountered a memory leak that happens when calling `fs.createWriteStream` from `node-fs-extra`. Since fs-extra calls gracefu-fs directly for this method I have reported the issue here on the graceful-fs repo: https://github.com/isaacs/node-graceful-fs/issues/248 Since the leak is in `graceful-fs` I'm adding an issue here mainly as a heads up to anyone looking for a possible cause of their production memory leaks. The issue is easily solvable by replacing fs-extra calls to `createWriteStream` with the native node one from `node:fs`.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by krystianfowler and has received 3 comments.