node-fs-extra
node-fs-extra copied to clipboard
Node.js: extra methods for the fs object like copy(), remove(), mkdirs()
- **Operating System:** Kubuntu 21.04. - **Node.js version:** 16.11.0 - **`fs-extra` version:** 10.1.0 Copying a directory to a path that already has a directory with that name does not throw...
- **Operating System:** Windows 11 - **Node.js version:** v16.13.1 - **`fs-extra` version:** 10.0.1  Code: ```js await new Promise(resolve => { fse.copy('path/to/a', 'path/to/b', { overwrite: true, recursive: true }, err...
- **Operating System:** Mac OS Monterey - **Node.js version:** v14.19.1 - **`fs-extra` version:** 9.0.1 Trying this command `fs.copySync('sourcefile.css', '/dummy/sourcefile.css');` where source file is having @import statement as content like sourcefile.css...
Support ESM
Node v13.2.0+ has experimental ESM (native module) support without any kind of flag. This means that you can now do: ```mjs import { readFile } from 'fs' ``` However, if...
- **Operating System:** Pop!_OS 20.04 LTS - **Node.js version:** v16.11.0 - **`fs-extra` version:** 10.0.0 I'm not sure if this is the expected behavior. Here's what I'm trying to do... basically...
Just opening an issue for https://github.com/nodejs/node/pull/39372#discussion_r670744165 so this doesn't get forgotten.
I'm willing to make a PR if you're on board with this 🙂 As mentioned in #843, when doing a `copy`, `filter` is actually called with both files and directories....
As per https://github.com/nodejs/node/pull/39372; Node.js is considering moving `copy*()` to `fs` core. This will create a naming conflict between our method and `fs` core when it's released. How do we want...
Fixes #746 @RyanZim @jprichardson I honestly do not see the big challenges mentioned in #746 – I think, apart from documentation, this should do it. It works as intended in...