hasown is a compact and efficient JavaScript utility that replicates the functionality of Object.hasOwn for broader compatibility, including older JavaScript environments that lack native support. It provides a reliable means of checking if an object directly possesses a specified property as its own, excluding inherited properties from its prototype chain. This lightweight package ensures consistent and predictable object property existence checks across various JavaScript runtimes, enhancing code portability.