NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #1989 most downloaded on npm
Lightweight, zero-dependency JavaScript utility to convert bytes to human-readable strings with localization support
Latest stable
11.0.35
Last release 4 days ago
18 Nov 2026
Ships unpredictably
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 56 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
160 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
Updating the package manifest for npm `20b4ac4`
Removing unneeded nesting of conditionals `a4448cd`
27 February 2015
a4448cdYour coding agent can read these notes before it upgrades. Set up the MCP server →
Updating to transpiler to babel 4.0.0, reformatting some statements for readability, moving consts to the top of the lib `fc3714f`
Add a Gitter chat badge to README.md `#60`
Fixing an error in exponent calculation such that ceil is utilized & added two tests, fixes #59 `#59`
29 January 2015
ceil is utilized & added two tests, fixes #59 #59Adding the ability to specify the exponent used for determining the file size, and adding exponent as an output value (feature request by email) `0af5
Nothing published for this version
Fixes #55 by avoiding type mutation, fixing CI tests by removing node 0.8.x `#55`
2 October 2014
#55Adding exabyte, zettabyte, yottabyte, exabit, zettabit, & yottabit sizes `fd448ab`
Changing the method of generating result `98f34a1`
Adding language overriding via optional suffixes dictionary `#49`
Nothing published for this version
Fixing scientific notation (google!), fixes #39 `#39`
8 July 2013
#39Correcting kilobit & kilobyte symbols `223b8ea`
> 18 June 2013 - Updating README `#37` - Updating .npmignore `#36`
Updating README.md examples `#34`
> 14 April 2013 - Minor change `#31` - Making 0 case faster `642966b`
Treating bytes as cardinal numbers `fdf8b22`
Updating .npmignore to ignore unneeded files for distribution, fixes #28 `#28`
Added a third optional boolean argument to disable bit sizes, fixes #25 `#25`
Caching variables in closure scope, upgraded to grunt 0.4.0, fixed license link in README.md `7648fee`
Changing how 0 is handled (less wasted ops) `d1428f6`
Adding support for zero as a parameter `5075979`
Optimizations; kudos to @marktucker for looking over the lib `e5965f0`
Optimizing the negative number flip using the simplest method (minus operator) `0fb401c`
Fixing license link in banner `#16`
Utilizing Math.abs(), updating the banner `fb27fd3`
Adding support for negative sizes, fixes #12 `#12`
Refactored to utilize regex tests instead of string comparisons, minor version bump `bfa1398`
Fixing shorthand for bit suffixes `2222c6e`
Extended size ranges to support Byte - PetaByte based on the new standard definitions `97a497c`
Removing deprecated variables, moving tag `6cfdca0`
Add a jam ignore to reduce packaged size `#3`
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added support for node.js `2b14b66`
One column per quarter.