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.
Number base, default is 2
Enables bit sizes, default is false
Specifies the SI suffix via exponent, e.g. 2 is MB for bytes, default is -1
Enables full form of unit of measure, default is false
Array of full form overrides, default is 
locale (string || boolean)
BCP 47 language tag to specify a locale, or `true` to use default locale, default is ""
localeOptions (object: overrides 'separator', requires string for 'locale' option)
Dictionary of options defined by ECMA-402 (Number.prototype.toLocaleString). Requires locale option to be explicitly passed as a string, otherwise is ignored.
Output of function (array, exponent, object, or string), default is string
Decimal place, default is 2
Character between the result and suffix, default is " "
Standard unit of measure, can be "iec" or "jedec", default is "jedec"; can be overruled by "base"
Dictionary of SI/JEDEC symbols to replace for localization, defaults to english if no match is found
Enables unix style human readable output, e.g ls -lh, default is false