avoidwork / filesize.js

JavaScript library to generate a human readable String describing the file size
https://filesizejs.com
BSD 3-Clause "New" or "Revised" License
1.61k stars 97 forks source link

fix: input type should accept string #181

Closed rnike closed 5 months ago

rnike commented 5 months ago

filesize.js provides a simple way to get a human-readable file size string from a number (float or integer) or string

string should be an acceptable input

avoidwork commented 5 months ago

Thanks for the fix!

avoidwork commented 5 months ago

This is 10.1.2