filer
filer copied to clipboard
Node-like file system for browsers
We only support glob patterns in `sh.find()`. Let's add them to some other shell commands: ``` sh.ls(dir, [options], callback) sh.cat(files, callback) sh.rm(path, [options], callback) ``` These should support being passed...
In our implementation of watch events, we assume path names are enough to trigger events: a file is changed, we use the path to look at registered watchers (for that...
It would be nice to have the build process prepend copyright info to our distribution file.
One killer feature to consider is doing rsync, within a filesystem (e.g., mirroring dir A/ to dir B/) and later between filesystems. One fast path to this would be to...
The [intercom.js](https://github.com/diy/intercom.js) project has been dead for a while. We've got a small version of it in `lib/intercom.js`, which we use to create filesystem watches across windows. I suspect there...
We don't really need `lib/async.js` anymore. We use it in only a few places: https://github.com/filerjs/filer/search?l=JavaScript&q=async Most of this could be done with `async/await`, using `setImmediate` directly, etc. Let's see if...
Similar to #414, node is adding recursive support to `rmdir` in https://github.com/nodejs/node/pull/24252. We should match by adding support for the `{ recursive: true }` option.
This method works for the first test case from [issue-445](https://github.com/filerjs/filer/issues/445) but for the second method it gives typeerror: this.off is not a function. Can someone help point me to the...
As seen in PR #494, the current implementation of appendFile fails when passing a parameter that looks like { flag: 'a' } (which should succeed, since 'a' is a default...
I was writing a test for rename() when oldPath==newPath (You can see a discussion [here](https://github.com/filerjs/filer/pull/502)). It was expected that function will successfully rename a file, but it fails. We came...