Shane F. Carr

Results 1883 comments of Shane F. Carr

TroyWolf's post is correct. You can listen for the "saved" event and move the file if you like. Another option is to bypass all of siofu's file handling operations by...

Thanks for the feedback! For the time being, if you can find an emoji with a good symbol, that should work inline with text already.

I have not tried this with React Native. As long as React Native is compatible with the ECMAScript standard, particularly the part regarding FileList and FileReader, then this package should...

This package only uses `document` when dealing with events, such as [document.createEvent](https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent). This was written before [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent) was standardized; I imagine React Native probably supports CustomEvent but not document.createEvent. I'm...

According to your error message, it seems this module doesn't support React Native. I'm happy to review a PR migrating from document.createEvent to CustomEvent if that fixes the compatibility issue.

Socket.io incurs some overhead like serializing into the web socket, writing the file to a WriteStream, etc. I'm a bit surprised the difference would be quite that large, though.

What does `insert` return? From the code it calls [or_insert](https://doc.rust-lang.org/stable/std/collections/hash_map/enum.Entry.html#method.or_insert), which means that it returns the value that is already in the map, and throws away the argument? This is...

The "progress" event allows you to read individual chunks, but siofu does not natively support the Node `stream.Readable` interface. Writing a wrapper over siofu exposing that interface should not be...

You can convert your base64 to an `ArrayBuffer`, which you can convert to a `Blob`, and then you can pass an array of `Blob` to the `submitFiles()` function. You may...