gits-latest-tag
v2.0.2
Published
Gets the latest git tag of a repo on GitHub.
Downloads
7
Readme
github-latest-tag
A lib to get the latest tag of a repo on Github.
Example
var co = require('co');
var GitHub = require('github');
var github = new GitHub({ version: '3.0.0' });
var latestTag = require('s-github-latest-tag')(github);
co(function *() {
var tag = yield latestTag('travisjeffery', 'timecop');
console.log(tag); // v0.7.1
})();