You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm playing around with userbase-node-js right now. So far it's running really well, good job! One thing I noticed is that the uploadFile function expects an object of the File class, which is not available in node as far as I know.
What would be great would be if you could use node's File System API directly, for example with fs.readFileSync. The problem with this is that fs.readFileSync returns a buffer. This buffer must first be converted to a compatible format. Is there a way to do this in node at all? If so, the following way of uploading a file would still be very convenient:
I'm playing around with userbase-node-js right now. So far it's running really well, good job! One thing I noticed is that the uploadFile function expects an object of the File class, which is not available in node as far as I know.
What would be great would be if you could use node's File System API directly, for example with
fs.readFileSync
. The problem with this is that fs.readFileSync returns a buffer. This buffer must first be converted to a compatible format. Is there a way to do this in node at all? If so, the following way of uploading a file would still be very convenient:The text was updated successfully, but these errors were encountered: