Skip to content

parseGitUrl ​

Category
Last Changed
2025-02-24

Parse Git URL strings and normalize them to HTTPS format.

Demo ​

source: git@github.com:ajiu9/comuse.git

parseGitUrl: https://github.com/ajiu9/comuse

Usage ​

ts
import { parseGitUrl } from 'comuse-shared'

parseGitUrl('git@github.com:ajiu9/comuse.git') // https://github.com/ajiu9/comuse

Source ​

Source • Demo • Docs

Changelog ​

No recent changes

Released under the MIT License.