-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
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
Add size of file to metadata #963
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I've been building an app and it would be quite useful if the
parseFile()
returned the file size. I saw in theparseFile
source code that apparently it already gets the file size, so I imagine it would be just a matter of returning it in the metadata, right?In the meantime I'm having to put
const { size } = await stat(path);
on my code, making the function slower cause it's called several times in a row.The text was updated successfully, but these errors were encountered: