pretty-bytes
Convert bytes to a human readable string: 1337 → 1.34 kB
filesize
JavaScript library to generate a human readable String describing the file size
byte-size
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
file-size
Lightweight filesize to human-readable / proportions w/o dependencies.