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.
xbytes
Parse bytes to human readable sizes (4747) → ('4.75 KB') and vice versa.
@tsmx/human-readable
Easily create human-readable strings from byte sizes, e.g. 17238 --> 17.24 kB. Supports decimal (MB,GB,..) and binary (MiB, GiB,..) units as well as user-defined conversion from/to other sizes.
@arcblock/xbytes
Parse bytes to human readable sizes (4747) → ('4.75 KB') and vice versa.