Skip to content
JS
Package

array-buffer-byte-length

Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.

v1.0.2, 20 Dec 2024MITCommonJSTypes: BundledPolyfills and shims
$ npm install array-buffer-byte-length

Key numbers

As of 25 Sept 2026
Weekly downloads
63.3m
+85% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
1 year ago
v1.0.2
GitHub stars
2
1 forks
Open issues / PRs
1 / 0
Contributors
1
Commits, last 52 weeks
3

Downloads

Last week 2026-09-15 to 2026-09-21
025m50m75m100mSept 2025Mar 2026Sept 2026High 85.8m (25 Aug 2026)Low 24.1m (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.

63,338,126 downloads last week, 310,724,188 in the last month. The 12-month change of +85% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
03 in total
Latest version
1.0.2, 20 Dec 20241 year ago
First published
28 Feb 2023
Last push to GitHub
13 Jan 2026254 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
3
Dependents on npm
785

Major versions

  1. v1 first release 1.0.0, 28 Feb 2023

Recent releases

VersionPublished
1.0.220 Dec 2024
1.0.13 Feb 2024
1.0.028 Feb 2023
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
12 kB
Dependencies (2)
call-boundis-array-buffer
npm install array-buffer-byte-length
  • jsDelivrhttps://cdn.jsdelivr.net/npm/array-buffer-byte-length@1.0.2/
  • unpkghttps://unpkg.com/array-buffer-byte-length@1.0.2/
  • esm.shhttps://esm.sh/array-buffer-byte-length@1.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
function.prototype.name64.8m-3 months agoCommonJS-
object-keys79.8m-7 years agoCommonJS-
string.prototype.trim63.1m-3 months agoCommonJS-
array.prototype.reduce6.2m-1 year agoCommonJS-
array.prototype.map1.8m-1 year agoCommonJS-
array.prototype.filter895.5k-2 years agoCommonJS-
is-nan8.8m-5 years agoCommonJS-
es-aggregate-error2.8m-1 year agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.