git-origin-url

Retrieve the git remote origin URL of the current repo.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
git-origin-url
100.3.09 years ago9 years agoMinified + gzip package size for git-origin-url in KB

Readme

git-origin-url
Build Status NPM version NPM downloads LICENSE
Retrieve the git remote origin URL of the current repo for Node.js.

Example

var origin = require('git-origin-url');

origin(function (err, url) {
  if (err) throw err;
  console.log(url);
});

//=> https://github.com/wilmoore/node-git-origin-url.git

Installation

$ npm install git-origin-url

Inspiration

License

MIT