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.
convert
The smallest & fastest library for really easy, totally type-safe unit conversions in TypeScript & JavaScript