Function to parse a git url and generates template url for the git compare preview.
Function to parse a git url and generates template url for the git compare preview.
Since v3.0 this module is ESM only.
``sh`
npm install @geut/git-url-parse
`js
import { gitUrlParse } from '@geut/git-utl-parse'
console.log(await gitUrlParse({ url: 'https://github.com/geut/chan' }));
``
Function to parse a git url and generates template url for the git compare preview.