Back to Explore

inspect-js/typed-array-byte-length

GitHub
2 watchersOpen source

Last release:

This project provides a function to get the byte length (and byte offset handling) of a Typed Array, returning false if the value is not a Typed Array. It is useful for cross-realm and engine compatibility, including environments where Typed Arrays do not expose a usable byteLength method.

Project status

  • The repository appears quiet rather than actively maintained, with the most recent upstream push on 2024-12-17, about 18 months ago as of 2026-06-09.
  • Update cadence is low, with version tags spread out (v1.0.2 in 2024-12-17, v1.0.3 shortly after the same day, v1.0.1 in 2024-02-21, and v1.0.0 in 2023-07-14).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.0.3

    Release v1.0.3 contains essentially no runtime changes. The only meaningful change in the diff is a TypeScript declaration update in index.d.ts, plus the version bump in package.json and a corresponding changelog entry.

  • v1.0.2

    v1.0.2 mainly updates TypeScript typings and development tooling, along with several dependency bumps. The runtime implementation of `typedArrayByteLength` appears mostly intact, with small internal refactors around how TypedArray constructors are introspected and how a `getters` lookup object is initialized.

  • v1.0.1

    Release v1.0.1 was published on 2024-02-21, but no release notes were provided. As a result, there is no stated information about new features, fixes, breaking changes, security updates, or dependency changes in this release.

  • v1.0.0

    This release is tagged v1.0.0, but the publisher did not provide any release notes. With no documented changes, developers should assume there may be functional, API, or behavioral updates and verify by reviewing the code diff from the previous version and running the relevant test suites.