Skip to content

Commit

Permalink
Use valid "KiB" unit when binary=true
Browse files Browse the repository at this point in the history
See right table for "Binary/IEC"
  • Loading branch information
ivankravets committed Jul 12, 2023
1 parent 8ee1403 commit a1246e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const BYTE_UNITS = [

const BIBYTE_UNITS = [
'B',
'kiB',
'KiB',
'MiB',
'GiB',
'TiB',
Expand Down

0 comments on commit a1246e9

Please sign in to comment.