🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

get-git-remotes

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-git-remotes

Get the remote URLs of a git repository

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
12
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

git

FAQs

Package last updated on 24 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts