@geut/git-url-parse

Function to parse a git url and generates template url for the git compare preview.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@geut/git-url-parse
3.2.6a year ago4 years agoMinified + gzip package size for @geut/git-url-parse in KB

Readme

git-url-parse
Function to parse a git url and generates template url for the git compare preview.

Note

Since v3.0 this module is ESM only.

Install

npm install @geut/git-url-parse

Use

import { gitUrlParse } from '@geut/git-utl-parse'

console.log(await gitUrlParse({ url: 'https://github.com/geut/chan' }));

API

gitUrlParse (options)

Function to parse a git url and generates template url for the git compare preview.