git-semver-tags
Get all git semver tags of your repository in reverse chronological order
Last updated 8 years ago by bcoe .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install git-semver-tags 
SYNC missed versions from official npm registry.

NPM version Build Status Dependency Status Coverage Status

Get all git semver 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-semver-tags

Usage

var gitSemverTags = require('git-semver-tags');

// gitSemverTags([options])

const tags = await gitSemverTags();

console.log(tags);
//=> [ 'v2.0.0', 'v1.0.0' ]
$ npm install --global git-semver-tags
$ git-semver-tags
v2.0.0
v1.0.0

Options

  • opts.lernaTags: extract lerna style tags (foo-package@2.0.0) from the git history, rather than v1.0.0 format.
  • opts.package: what package should lerna style tags be listed for, e.g., foo-package.
  • opts.tagPrefix: specify a prefix for the git tag to be ignored from the semver checks

License

MIT © Steve Mao

Current Tags

  • 7.0.1                                ...           latest (a year ago)
  • 4.1.1                                ...           next (4 years ago)

31 Versions

  • 7.0.1                                ...           a year ago
  • 7.0.0                                ...           a year ago
  • 6.0.0                                ...           a year ago
  • 5.0.1                                ...           a year ago
  • 5.0.0                                ...           2 years ago
  • 4.1.1                                ...           4 years ago
  • 4.1.0                                ...           4 years ago
  • 4.0.0                                ...           5 years ago
  • 3.0.1                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.0.3                                ...           6 years ago
  • 2.0.2                                ...           6 years ago
  • 2.0.0                                ...           7 years ago
  • 1.3.6                                ...           7 years ago
  • 1.3.5                                ...           7 years ago
  • 1.3.4                                ...           7 years ago
  • 1.3.3                                ...           7 years ago
  • 1.3.2                                ...           7 years ago
  • 1.3.1                                ...           7 years ago
  • 1.3.0                                ...           7 years ago
  • 1.2.3                                ...           7 years ago
  • 1.2.2                                ...           7 years ago
  • 1.2.1                                ...           7 years ago
  • 1.2.0                                ...           8 years ago
  • 1.2.0-alpha.1                                ...           8 years ago
  • 1.1.2                                ...           9 years ago
  • 1.1.1                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.0.1                                ...           9 years ago
  • 0.0.0                                ...           9 years ago
Downloads
Today 0
This Week 0
This Month 19
Last Day 0
Last Week 19
Last Month 0
Dependencies (2)
Dev Dependencies (7)

Copyright 2013 - present © cnpmjs.org | Home |