Skip to content
JS
Package

filesize

Lightweight, zero-dependency JavaScript utility to convert bytes to human-readable strings with localization support

v11.0.24, 15 Sept 2026BSD-3-ClauseESM + CommonJSTypes: BundledFiles and file systems
$ npm install filesize

Key numbers

As of 25 Sept 2026
Weekly downloads
13.3m
+6% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
10 days ago
v11.0.24
GitHub stars
1.7k
103 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
139

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 17.8m (12 May 2026)Low 6.8m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

13,342,409 downloads last week, 58,352,464 in the last month. The 12-month change of +6% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
11149 in total
Latest version
11.0.24, 15 Sept 202610 days ago
First published
8 May 2012
Last push to GitHub
23 Sept 20262 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
139
Dependents on npm
2,417

Major versions

  1. v11 first release 11.0.0, 11 Jul 2025
  2. v10 first release 10.0.0, 28 Sept 2022
  3. v9 first release 9.0.0, 26 May 2022
  4. v8 first release 8.0.0, 18 Aug 2021
  5. v7 first release 7.0.0, 11 Jul 2021
  6. v6 first release 6.0.0, 31 Oct 2019
  7. v5 first release 5.0.0, 1 Oct 2019
  8. v4 first release 4.0.0, 12 Jan 2019
  9. v3 first release 3.0.0, 4 Jan 2015
  10. v2 first release 2.0.0, 12 Oct 2013
  11. v1 first release 1.6.0, 8 May 2012

Recent releases

VersionPublished
11.0.2415 Sept 2026
11.0.233 Sept 2026
11.0.229 Jul 2026
11.0.219 Jul 2026
11.0.209 Jul 2026
11.0.1926 Jun 2026
11.0.1826 Jun 2026
11.0.1727 Apr 2026
11.0.1620 Apr 2026
11.0.1528 Mar 2026
11.0.1425 Mar 2026
11.0.1321 Sept 2025
11.0.1221 Sept 2025
11.0.1121 Sept 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 10.8.0
Runtimes
-
Unpacked size (npm)
63 kB
Dependencies (0)
None
npm install filesize

CDN

jsDelivr: 147.4k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/filesize@11.0.24/
  • unpkghttps://unpkg.com/filesize@11.0.24/
  • esm.shhttps://esm.sh/filesize@11.0.24
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.