Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

git-all-tags

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

git-all-tags

Get all git tags of your repository in reverse chronological order

Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

NPM version Build Status Dependency Status Coverage Status

Get all git tags of your repository in reverse chronological order

Note: since lightweight tags do not store date information, the date of a tag is the date of the commit that is tagged on. If two tags on one commit, the order is not guaranteed.

Install

$ npm install --save git-all-tags

Usage

var gitAllTags = require('git-all-tags');

gitAllTags(function(err, tag) {
  console.log(tag);
  //=> [ 'v2.0.0', 'v1.0.0' ]
});
$ npm install --global git-all-tags
$ git-all-tags
v2.0.0
v1.0.0

License

MIT © Steve Mao

Keywords

git-all-tags

FAQs

Package last updated on 30 Jan 2016

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