1.0.1 • Published 7 years ago

get-git-remotes v1.0.1

Weekly downloads
57
License
MIT
Repository
github
Last release
7 years ago

get-git-remotes

Build Status Build status Coverage Status

Get the remote URLs of a git repository

Installation

$ npm i get-git-remotes --save

or

$ yarn add get-git-remotes

Usage

Returns a string of all remote URLs

const getGitRemotes = require('get-git-remotes');

// the remote URLs of process.cwd();
getGitRemotes();

// the remote URLs of 'my/repo'
getGitRemotes('my/repo');

LICENSE

MIT © Lukas Aichbauer