npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

git-to-github-url

1.0.0

@vdemedes

npmHomeRepoSnykSocket
Downloads:0
$ npm install git-to-github-url
DailyWeeklyMonthlyYearly

git-to-github-url Build Status

Get GitHub URL for a git repository

Install

$ npm install git-to-github-url

Usage

const gitToGithubUrl = require('git-to-github-url');

const url = await gitToGithubUrl();
//=> 'https://github.com/vadimdemedes/ink'

API

gitToGithubUrl([cwd])

cwd

Type: string
Default: process.cwd()

Path to a git repository.

License

MIT © Vadim Demedes