sindresorhus/
Convert bytes to a human readable string: 1337 → 1.34 kB
USD raised
Recent activities
crazy, over update everything (and break) and nodejs is basically commonjs in 99%, so non-considerate
Clarification on the Handling of Negative Values
kB has a lowercase prefix while others are all capitalized (MB, GB, TB, etc.)
Add support for non ES format
Rounding bug between 1001 and 1023 in binary mode
Use non-breaking space for unit separator
pretty-bytes is converting what apple shows as 1mb to 1.05mb in code
Invalid configuration reported
Module parse failed: Unexpected token (74:2)
Throws for BigInt
maximumFractionDigits not working as expected
ESM build to support imports from .mjs files
IE 11 support
Fixed width format
New option for precision
Byte units are not translated
Should not distribute ES6
© 2019 BoostIO, Inc.