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
Last release 3 days ago
15 Sep 2026
Release timing varies
gaps range from 2 weeks to 10 months
Nearly every release is documented
notes for 55 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
149 releases · first in 2012
Version bump to release, updating dependencies `9a1fd51`
Fixing assignment of standard such that it aligns with the README (default of "iec") & updating tests, fixing hardcoded copyright year in rollup.confi
12 September 2021
standard such that it aligns with the README (default of "iec") & updating tests, fixing hardcoded copyright year in rollup.config.js, version bump to release bb7242918 August 2021
#138#136#1379633cdaf89b10211 July 2021
One column per quarter.
Nothing published for this version
Nothing published for this version
Implementing precision option with tests, fixes #117, fixes #132 `#117` `#132`
[feature suggestion] add roundingMethod option `#131`
Fixing missing unit on object output when input is 0 `72c5736`
Removing the multiple return statements from the end of filesize(), tweaking order of final changes `1d19261`
Fixing late application of pad `6c1d2cb`
Updating dependencies, updating bannerShort in rollup.config.js `86b4374`
Remove support for bower `51d4eb6`
Adding unit to object output `#129`
Replace build system with rollup `#124`
Adding exponent to object output, fixes #112 `#113`
21 February 2020
exponent to object output, fixes #112 #113#112exponent to object output, fixes #112 #112auto-changelog to generate a formatted changelog, fixes #110 #110d1b726a8acef4c6eb9744Fixing a regression due to 5.x revert, fixes #111 `#111`
8 November 2019
30 October 2019
#106#1053909b0471a9eadec99f00Nothing published for this version
Reformatting CHANGELOG `fd76462`
git-log based CHANGELOG via npm run changelog `d8415f5`
Nothing published for this version
Fixing case where rounding results in the wrong exponent, fixes #103 `#103`
Add support for localeOptions option: allow customization of i18n output `#102`
Refactoring locale option to accept String or Boolean values, re-organizing code such that an exponent output skips unneeded ops `dd8f754`
15 February 2019
locale option to accept String or Boolean values, re-organizing code such that an exponent output skips unneeded ops dd8f754Fixing order of ops that could've impacted object output `3b71615`
13 February 2019
object output 3b71615Nothing published for this version
Including ES6 version with npm install, updating grunt build such that more files are linted `fb9bd3e`
Adding separator option, fixes #93 `#93`
3 February 2018
separator option, fixes #93 #93Add CDNJS version badge in README.md `#90`
Updating uglify dependency `b93909e`
Removing loader script as it apparently breaks browserify/webpack loading (sigh) `54d9770`
30 April 2017
54d9770Adding index.js to load es5 or es6 depending on the test environment `0e07bba`
29 April 2017
index.js to load es5 or es6 depending on the test environment 0e07bbaAdding babili task to minify the es6 file, fixes #86 `#86`
29 April 2017
babili task to minify the es6 file, fixes #86 #86Building missing files, updating README `77db546`
6 March 2017
77db546Changing things such that you can do filesize(0, {exponent: n}) and get the correct result, adding a test, fixes #85 `#85`
Adding fullforms for overriding full form `727db07`
24 January 2017
fullforms for overriding full form 727db07> 24 January 2017 - Fixing 0 bytes `d957df3`
24 January 2017
0 bytes d957df3> 24 January 2017 - Updating README `7bc227e`
24 January 2017
7bc227eCorrecting longform to fullform `1dee34f`
24 January 2017
longform to fullform 1dee34fAdding longform flag, fixing markdown in README `7d8b650`
24 January 2017
longform flag, fixing markdown in README 7d8b650> 23 January 2017 - Oops, fixes #84 `#84`
23 January 2017
#84Simplifying filesize.partial() & adding a test `4d1e9ea`
21 January 2017
filesize.partial() & adding a test 4d1e9eaChanging a statement to be a little easier to read, updating build status graphic to be SVG for better rendering on various devices `de2e388`
19 January 2017
de2e388travis-ci.org config 'cause the eslint dep requires es6 engine without a strictEngine (so pro) c1d40b5245aa6dCreating filesize.partial() for creating a partial application / functional programming style, updating dependencies, fixing lint errors, updating REA
19 January 2017
#83filesize.partial() for creating a partial application / functional programming style, updating dependencies, fixing lint errors, updating README & LICENSE copyright year, updating README to cover filesize.partial() 1ba7b0c81bc1d2Adding support for IEC standard via new standard descriptor property (defaults to jedec), fixes #80 `#80`
add test case for huge number `#76`
Fixing a poor choice in wording by marking suffixes for deprecation & moving to symbols, updating README (fixes #72, #73) `#72`
22 January 2016
suffixes for deprecation & moving to symbols, updating README (fixes #72, #73) #72Fixing kilobit & kilobyte symbols by ensuring JEDEC for base 2 & SI for base 10, fixes #69 `#69`
Fixing bit suffix & updating build to use latest version of babel, fixes #68 `#68`
Correctly check for AMD loader `#66`
Updating the package manifest for npm `20b4ac4`
Removing unneeded nesting of conditionals `a4448cd`
27 February 2015
a4448cdUpdating 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`
Your coding agent can read these notes before it upgrades. Set up the MCP server →