Detects if the JavaScript environment has __proto__ support. This small utility provides a reliable and fast way to determine if the __proto__ property is available for setting the prototype of objects. This is crucial for writing cross-environment compatible code, as __proto__ support can vary across browsers and Node.js versions. Avoid relying on __proto__ when targeting older environments.
The npm package has-proto had inconsistent release frequency. It had releases in December 2022 (2 versions), February 2024 (2 versions), and December 2024 (2 versions). No releases occurred between January 2023 and January 2024, or from January 2025 through September 2025 (current date).
The npm package has-proto experienced fluctuating download numbers. Downloads grew significantly from March to October 2024, reaching a peak of 197 million. After this, downloads decreased sharply in December 2024. Monthly downloads remained relatively stable from January 2025 to August 2025, but only 56 million so far during the current incomplete month of September 2025.