get-git-remotes
Get the remote URLs of a git repository
Last updated 3 years ago by aichbauer .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install get-git-remotes 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (3 years ago)

2 Versions

  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 3
Dependencies (4)
Dev Dependencies (10)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |