gits-latest-tag

2.0.2 • Public • Published

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
})();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.2
    1
  • 2.0.1
    1

Package Sidebar

Install

npm i gits-latest-tag

Weekly Downloads

2

Version

2.0.2

License

MIT

Last publish

Collaborators

  • travisjeffery