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

Readme

Keywords

Package Sidebar

Install

npm i gits-latest-tag

Weekly Downloads

1

Version

2.0.2

License

MIT

Last publish

Collaborators

  • travisjeffery