npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

git-all-tags

1.0.0

@stevemao

npmHomeRepoSnykSocket
Downloads:7
$ npm install git-all-tags
DailyWeeklyMonthlyYearly

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