Show `bit` sizes Base 10
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 10
Enables bit sizes, default is false
Specifies the symbol via exponent, e.g. 2 is MiB 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 end padding, default is false
Sets precision of numerical output, default is 0
Decimal place, default is 2
Rounding method, can be "round", "floor", or "ceil"; default is "round"
Decimal separator character, default is "."
Character between the result and suffix, default is " "
Standard unit of measure, can be "iec" or "jedec", default is "iec"
Dictionary of IEC/JEDEC symbols to replace for localization, defaults to english if no match is found