node-file-utils icon indicating copy to clipboard operation
node-file-utils copied to clipboard

A collection of async node file system utilities

Results 10 node-file-utils issues
Sort by recently updated
recently updated
newest added

In mime v2 or later, "mime.lookup" is deprecated and rename to "mime.getType". Please fix this issue.

In the current documentation for "file.walk", the first parameter is labeled as "null". It should be "error".

`file.walk` uses `fs.lstat` which does NOT follow symlinks, but `fs.walkSync` uses `fs.statSync` which DOES follow symlinks. This is probably not intended behaviour. If it is intended, it should be documented...

Using an absolute windows path (i.e. d:\test\test) it would fail silently. Checks on path.sep will not work if a unix-based path is given on a windows environment. Made changes accordingly...

Hi, I ran into this bug when walking the /etc directory with a non-root user. In this pull request I provide the fix and a test for it. For the...

`file.path.abspath('~foobar')` incorrectly maps `~foobar` to `$HOME/foobar` instead of the expected `/home/foobar`. One suggestion would be to check to see if an unescaped `~` is present in provided `path` and then...

Where it says `file.path.relpath`, it should say `file.path.relativePath`

The callback receives different arguments and in .walk the full file path is passed with each file, but in .walkSync the file is stand alone and you have to concatenate...

minitest hasn't been updated in a while (more than two years) and it's not clear from the repo which version it was built on, since vanilla minitest doesn't have a...

I have no idea, and maybe I'm a node-n00b, but the only thing i could think of trying was: ``` node test/file_spec.js ``` Which resulted in a module missing .....