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
require('filesize')(-4) returns an empty string. Should return -4.00B.
require('filesize')(-4)
-4.00B
The text was updated successfully, but these errors were encountered:
What's the use case where this is valid? I'm unaware of any file system allowing for smaller than 0B files.
Sorry, something went wrong.
If you want to show the size difference of something.
Example: https://github.com/sindresorhus/grunt-sizediff
0feae20
No branches or pull requests
require('filesize')(-4)
returns an empty string. Should return-4.00B
.The text was updated successfully, but these errors were encountered: