parse-github-url is a lightweight Node.js package designed to reliably parse GitHub repository URLs. It extracts key information like owner, name, branch, and sub-directory paths from valid GitHub URLs. Useful for tools that need to programmatically interact with GitHub repositories, it handles various URL formats, including SSH and HTTPS. This package simplifies the process of obtaining repository details, enhancing efficiency for projects involving GitHub integrations.