fs-jetpack icon indicating copy to clipboard operation
fs-jetpack copied to clipboard

Better file system API for Node.js

Results 20 fs-jetpack issues
Sort by recently updated
recently updated
newest added

Fixes #103 I replaced rimraf with the native Node.js `fs.rm()` function. This requires Node.js 14, which is the lowest LTS version anyway. I updated the CI environments to match.

When node v14 will be the oldest actively maintained (https://github.com/nodejs/Release), this library can start leveraging native `fs.rm("dir", { recursive: true })` instead of `rimraf` library.

Right now, only `mtime`, `ctime`, and `atime` are returned when `{ times: true } `is set. It would be awesome to be able to include creation time in that as...

I have a use case for binary encoded data. Can this be added to the list of valid encodings? Was there a reason this was not added?

Hello, I try to use the inspectTree function (`inspectTree(pathToFolder, { checksum: 'md5' })`) with the checksum set in the option. The folder I'm trying to inspect contains a few large...

code to repro (test.json must be a file with BOM at beginning of file) ``` const jetpack = require('fs-jetpack'); data = jetpack.read("test.json", "json") ``` This happens quite easily if you...

On Nexus we discovered that `fs-jetpack`'s `find` was very slow. When we investigated why, it turned out to be because ignores were only being executed as an in-memory filter, not...

Hi everyone, I am currently making a small software that require a function to backup or load the database as a json file. The app was made using the vue...

```js const jetpack = require('fs-jetpack'); jetpack.write('a', 'anything'); console.log(jetpack.exists('a/b')); ``` This gives `false` on Windows, but gives an error in Linux: > ENOTDIR: not a directory, stat '/home/runner/work/test/a/b' I see meaning...

We're currently working on tree-shaking Nexus builds. We're trying rollup and webpack. With rollup we've been hitting some issues with fs-jetpack, such as: ``` Error: 'inspect' is not exported by...