🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

gits-latest-tag

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gits-latest-tag

Gets the latest git tag of a repo on GitHub.

latest
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

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

Keywords

git

FAQs

Package last updated on 26 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts