Clarify that only SI-based units are supported and / or add support for power-of-two based units
Closed this issue · 2 comments
sschuberth commented
In addition to power-of-ten based "kilo", "mega", "giga" units, it would be nice to also support power-of-two based "kibi", "mebi", "gibi" IEC units, which are esp. common in Information Technology, see e.g. multiple byte units.
SimonMarquis commented
saket commented
Both SI and IEC units are now available in https://github.com/saket/byte-size/releases/tag/2.0.0-beta02