file-size icon indicating copy to clipboard operation
file-size copied to clipboard

Clarify that only SI-based units are supported and / or add support for power-of-two based units

Open sschuberth opened this issue 1 year ago • 1 comments

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.

sschuberth avatar Dec 29 '23 10:12 sschuberth

  • #5

SimonMarquis avatar Dec 29 '23 17:12 SimonMarquis

Both SI and IEC units are now available in https://github.com/saket/byte-size/releases/tag/2.0.0-beta02

saket avatar Sep 16 '24 03:09 saket