We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why I can't use this function inside my front-end app to define what mime type is file?
The text was updated successfully, but these errors were encountered:
Because fileTypeFromFile is used to access files on you local file system, which is only possible via Node.js file sytem API.
fileTypeFromFile
If you want to read a File (a File you uploaded in a browser environment), you can use fileTypeFromBlob(blob).
fileTypeFromBlob(blob)
This could be better documented in the README, please keep this issue open until that is clearly captured.
Sorry, something went wrong.
Borewit
Successfully merging a pull request may close this issue.
Why I can't use this function inside my front-end app to define what mime type is file?
The text was updated successfully, but these errors were encountered: