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 8 days ago
27 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
150 releases · first in 2012
Fixes BigInt precision loss in filesize() so values above Number.MAX_SAFE_INTEGER are preserved accurately, corrects README accuracy errors, and updat
Fixes BigInt precision loss in filesize() so values above Number.MAX_SAFE_INTEGER are preserved accurately, corrects README accuracy errors, and updates development dependencies.
#355#353#352#351#350#349#348#347#346#354One column per quarter.
Includes a fix hardening input validation and edge-case handling in filesize() — covering BigInt overflow, non-integer and string exponents, negative
Includes a fix hardening input validation and edge-case handling in filesize() — covering BigInt overflow, non-integer and string exponents, negative fullform singular naming, sign preservation on round-to-zero, precision range validation, invalid output handling, and scientific notation leak prevention. Also includes dependency updates for oxlint, oxfmt, and auto-changelog.
14 September 2026
#345#344#342#341#340#339#338Includes a fix for negative values losing precision trailing zeros when using the precision option. Development dependencies (oxlint, oxfmt, rollup, a
Includes a fix for negative values losing precision trailing zeros when using the precision option. Development dependencies (oxlint, oxfmt, rollup, actions/setup-node) have been updated across 20 commits.
3 September 2026
#336#331#335#334#333#332#330#329#328#326#325#324#323#322#321#320#319#318#317#316#315Includes a fix for plural fullform name handling with comma decimal separators, and commits the build artifacts for the release.
Includes a fix for plural fullform name handling with comma decimal separators, and commits the build artifacts for the release.
Includes fixes for honoring the pad option on zero values and returning the final exponent from the output. Dependency updates are also included.
Includes fixes for honoring the pad option on zero values and returning the final exponent from the output. Dependency updates are also included.
Includes a fix for clamping negative forced exponents to 0 in helpers. Dependency updates bump oxlint from 1.71.0 to 1.73.0 and oxfmt from 0.56.0 to 0
Includes a fix for clamping negative forced exponents to 0 in helpers. Dependency updates bump oxlint from 1.71.0 to 1.73.0 and oxfmt from 0.56.0 to 0.57.0.
Resolves audit findings including padding truncation when separator and pad are both set, clarifies isNaN usage, and replaces JSON deep clone with str
Resolves audit findings including padding truncation when separator and pad are both set, clarifies isNaN usage, and replaces JSON deep clone with structuredClone in the partial function. Documentation updates add issue templates, a security policy, and updates the contributing guide.
Fixes a locale padding bug that dropped digits when pad was combined with a locale. Dependency updates cover oxlint, oxfmt, rollup, auto-changelog, an
Fixes a locale padding bug that dropped digits when pad was combined with a locale. Dependency updates cover oxlint, oxfmt, rollup, auto-changelog, and actions/checkout. Documentation updates include a PR template convention, AGENTS.md restructuring, and README cleanup.
25 June 2026
#295#292#294#293#291#290#289#288#287#286#285#284#283#282#281#280#279#278#277#276#275#274#273#272#271#270#269#268#267#266#265#264#263#262#260#259#25843320d88f97c2a99136ffNothing published for this version
refactor: extract delegate functions from filesize for better SRP `#257`
19 April 2026
#257#256#255#254#253#252#251#250767bf07bf3df96be4ffbbBump handlebars from 4.7.8 to 4.7.9 `#249`
Major refactor, documentation overhaul, and community best practices `#248`
25 March 2026
#248#246#245#243#242#241#239#236#235#234#233#232#231#230#229#228#227#226#225#224#223#222#221#220#219#218#217#216#215#214#213#212#211#210#209#2080a79afd443e3ccFixing links in the README.md header `bbe910f`
Version bump, updating CHANGELOG.md `88edbb0`
Updating CHANGELOG.md `df0978a`
> 19 September 2025 - Version bump `cc9e109` - Updating README.md `bc34e1d`
Updating documentation `f38cabf`
Fixing 'precision' some moar `#205`
Fixing the upper boundary of 'precision' `#204`
Taking a mulligan on 'precision' `#203`
Revert "Fixing the output when supplying 'precision' (#201)" `c5edf39`
Fixing how 'precision' adjusts the exponent if there's digits `#202`
Fixing the output when supplying 'precision' `#201`
19 September 2025
#201#199#198#197#196#195#194#193#192#191017e5b1ec20636ef70bf8Returning 'bigint' to 'filesize.d.ts' & fixing docblock `#190`
Nothing published for this version
Fixing regression due to rollup config, fixes #185 `#185`
Fixing implementation of 'pad' such that 'separator' is not required for it to be applied, fixes #184 `#184`
Fixing type def of 'partial()' `0e1516a`
fix: add bigint in filesize.d.ts `#183`
fix: input type should accept string `#181`
Rework types to allow Parameters<typeof filesize> to function properly `#180`
21 March 2024
Fixing tests to use strictEqual() `6b4b108`
Allow passing options without output property `#174`
Version bump 'cause npm has inane rules for releases `5544cb7`
Revert "Tweaking types and removing any usage" `3aee3e8`
Tweaking types and removing any usage `#172`
fixup: Add interface for filesize options object `#171`
Updating copyright year in README.md & LICENSE, updating dependencies `4de5566`
Setting engines.node to >= 10.4.0 for lowest version supporting BigInt, fixing npm run build for windows (needs gow) `0a4d329`
Reverting revert to default export, removing browser key from package.json as it's redirection away from main or module is what breaks webpack, fixes
12 December 2022
#164browser key from package.json as it's redirection away from main or module is what breaks webpack, fixes #162 #162ee1a97771a633687f817cNothing published for this version
Switching back to a default export for webpack issues (unsure of where the issue is atm), fixes #162 `#162`
Fixing rollup config (copy/pasta), version bump to release, fixes #162 `#162`
Lowering minimum version to 14.0.0, fixes #161 `#161`
Nothing published for this version
Adding invaid base 10 iec test set, building `38221a0`
Fixing base 2 jedec regression with refactoring `#158`
27 June 2022
#158base2 tests explicitly set to jedec standard to expose logic error 1281269standard if base has been specified, updating bit tests in base2Jedec set dc7c3a4f924463Fix regression of output from 9.x.x `#155`
Updating README.md to remove examples, fixes #154 `#154`
Returning strict mode to core function `f6d2b87`
Fixing assignment of base and returning original behavior, fixing base2 tests `35aedfd`
Fixing assignment (sigh) `f26ac07`
Fix type inference for output: 'array' when precision is configured `#151`
Updating the signature to use destructuring, removing edge case assignments on invalid inputs (fail by design) `a833bb5`
Nothing published for this version
[typescript] Add pad, precision, & roundingMethod `#145`
Updating dependencies, fixing test:unit, building to update version in lib/, updating CHANGELOG.md, version bump to release `b6628f8`
31 October 2021
test:unit, building to update version in lib/**, updating CHANGELOG.md, version bump to release b6628f8Fixing type comments of base and standard `#143`
feat: infer result type correctly with TypeScript (no "npx tsc") `#144`
Your coding agent can read these notes before it upgrades. Set up the MCP server →