pretty-bytes
Convert bytes to a human readable string: 1337 → 1.34 kB
@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.
human-format
Converts a number to/from a human readable string: `1337` ↔ `1.34kB`