Generate a unique hash based on the content of a JavaScript package. Useful for detecting changes and managing cache invalidation related to package updates. package-hash analyzes the package's manifest (package.json) and its source files to produce a deterministic hash. This hash changes only when the package's code or dependencies are modified, offering a reliable way to identify package versions programmatically without relying solely on version numbers. Simplifying complex cache management strategies.