{"library":"git-up","type":"library","category":null,"description":"git-up is a dedicated, low-level JavaScript utility designed for robust parsing of various Git URL formats, including SSH (e.g., `git@github.com:user/repo.git`) and HTTPS (`https://github.com/user/repo.git`). It meticulously breaks down a given URL into a structured object, exposing components like protocols, port, resource, user, pathname, hash, search, href, and the derived Git protocol. The current stable version is 8.1.1, with recent releases indicating active maintenance and the addition of TypeScript types in version 8.1.0. Its release cadence is somewhat irregular, often driven by updates to its core dependency, `parse-url`. A key differentiator is its specific focus on Git URL nuances, making it more reliable for Git-centric tooling compared to general-purpose URL parsers, which might not correctly interpret SSH syntax or project paths.","language":"javascript","status":"active","version":"8.1.1","tags":["javascript","git","url","parser","parsing","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install git-up","imports":["import gitUp from 'git-up';","import type { GitUpResult } from 'git-up';","import * as GitUp from 'git-up';"]},{"cmd":"yarn add git-up","imports":[]},{"cmd":"pnpm add git-up","imports":[]}],"homepage":null,"github":"https://github.com/IonicaBizau/git-up","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/git-up","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/git-up/compatibility"}}