Closed starius closed 8 years ago
You're welcome to change it with a PR.
The website is also 2-3yr out of date, please include updates there too.
Ok, I'll change values in examples to what is actually returned.
The website is also 2-3yr out of date, please include updates there too.
The example on the site is loaded with gist https://gist.github.com/4698968.js I can't make a pull request to gist.
I'm trying to reimplement it in Lua: https://github.com/starius/lua-filesize I've used the example as the first test.
Ah, well I guess that's unfortunate timing; all of the tests were corrected for JEDEC/SI, because it used to be SI centric.
https://github.com/avoidwork/filesize.js/blob/f7a059f/test/filesize_test.js#L22
https://github.com/avoidwork/filesize.js/blob/f7a059f/README.md
Discrepancies:
See also #69