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.
GitHub repository with 5 stars and 3 forks.
Language: JavaScript
Topics: binary, bytes, conversion, decimal, filesize, human-readable, iec, pretty-print, si