Extracts git metadata for npm packages.
Reads repository, bugs, and homepage URLs from package.json and generates common URLs (issues, PRs, compare, etc.).
Summary
Functions
Generates a compare URL for two versions.
Checks if the package is hosted on GitHub.
Extracts the GitHub user/repo from package data.
Returns the homepage URL.
Returns the issues URL for a package.
Extracts git repository URL from package data.
Functions
Generates a compare URL for two versions.
Checks if the package is hosted on GitHub.
Extracts the GitHub user/repo from package data.
Returns the homepage URL.
Returns the issues URL for a package.
Extracts git repository URL from package data.