Get the remote URLs of a git repository
$ npm i get-git-remotes --saveor
$ yarn add get-git-remotesReturns 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');MIT © Lukas Aichbauer