Rare find

Pretty Bytes. Turn file sizes into numbers people actually understand.

github.com/sindresorhus/pretty-bytes

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

September 2025
  • Release —
  • 7.1.0
  • Add `fixedWidth` option for right-aligned output
  • Fix truncation behavior with fraction digits options
  • Add `nonBreakingSpace` option
August 2025
  • Release —
  • 7.0.1
  • Fix precision with the `binary` option (#88)
April 2025
  • Fix CI
  • Release —
  • 7.0.0
  • Require Node.js 20
  • Add support for `BigInt` (#85)
January 2025
  • Meta tweaks
July 2023
  • Release —
  • 6.1.1
  • Meta tweaks
  • Fix `KiB` unit when `{binary: true}` (#81)
February 2023
  • Release —
  • 6.1.0
  • Add `space` option (#79)
July 2022
  • Meta tweaks
February 2022
  • Fix CI
  • Release —
  • 6.0.0
  • Meta tweaks
February 2021
  • Release —
December 2020
  • Release —
August 2020
  • Release —
  • Release —