Safely retrieve the prototype of an object in JavaScript. get-proto provides a robust alternative to the standard Object.getPrototypeOf, mitigating potential issues with null or undefined inputs. This small, dependency-free package ensures reliable prototype access across various JavaScript environments. It returns null if no prototype exists, preventing unexpected errors. Ideal for libraries and applications requiring consistent prototype handling.