Back to Explore

ljharb/get-proto

GitHub
2 watchersOpen source

Last release:

get-proto is a JavaScript utility that robustly retrieves an object's [[Prototype]] (its prototype), using the best available method. It is useful when you need a reliable way to access an object's prototype in Node.js or similar environments, including cases where __proto__ is set or is null.

Project status

  • Maintenance status: The upstream repository shows a recent push on 2026-01-13, suggesting the project is not abandoned, though the most documented tagged updates in the provided history are from 2025-01-02.
  • Update cadence: Based on the provided tagged update timestamps, published update tags are infrequent (two tags on 2025-01-02, with no additional tagged update evidence shown after that), despite the upstream activity in early 2026.

AI summary generated

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

Recent updates

  • v1.0.1

    No release notes were provided for v1.0.1 in the <release_notes> section. The diff and repository CHANGELOG entry indicate this release focuses on correcting behavior of get-proto when using Object.getPrototypeOf across windows/realms, specifically around throwing on non-object inputs.

  • v1.0.0

    This release is tagged v1.0.0, but the publisher provided no release notes, so there is no documented information about changes, fixes, or migrations. Developers should review the changelog and diff between the previous version and v1.0.0 to identify any potential breaking changes or undocumented behavior.