Show `bit` sizes Unix mode (base 2)
What does it do?
It provides an easy way to get a human readable file size String.
How do I use it?
filesize.js can be loaded from npm, as an AMD module, or as a regular script.
filesize() accepts an optional descriptor Object as a second argument, so you can customize the output.
Enables bit sizes, default is false
Enables unix style human readable output, e.g ls -lh, default is false
Number base, default is 10
Decimal place, default is 2
Character between the result and suffix, default is " "
Dictionary of SI suffixes to replace for localization, defaults to english if no match is found