filer
filer copied to clipboard
Node-like file system for browsers
Moderin java script prefers the use of let, const, and strict mode for best practices.
Modern JavaScript prefers the use of const, let and scritct mode instead of var
``` parcel build --global Filer src/index.js --out-file filer.min.js --detailed-report ✨ Built in 263ms. dist/filer.min.js 89.26 KB 155ms ├── src/filesystem/implementation.js 20.39 KB 10ms ├── node_modules/buffer/index.js 19.54 KB 11ms ├── node_modules/minimatch/minimatch.js 7.32...
This is part of the work to reduce the size of Filer (see #575), and fixes #290. Our Shell is pretty big, and not always needed. This splits it out...
I noticed that Filer does not support [fs.copyFile](https://nodejs.org/api/fs.html#fs_fs_copyfile_src_dest_flags_callback). What's your opinion on me taking on writing out the code/doing a test for this? Difficult or good feature to work on?...
I had a thought: why don't we have a set of tests that run a set of operations on node's `fs`, collect the results (e.g., errors, returned data), then run...
- Fixed [issue-548](https://github.com/filerjs/filer/issues/548): rename() failed to rename a file to the same filename - Also added a test that solves [issue-493](https://github.com/filerjs/filer/issues/493). It tests case when oldPath==newPath - So, this PR...
We have a bunch of error paths not getting hit in our tests for `fs.setxattr` and `fs.fsetxattr` related to checking on the type of the `name` argument: https://codecov.io/gh/filerjs/filer/src/master/src/filesystem/implementation.js#L1404. We need...