
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
git-latest-tag
Advanced tools
Get the most recent git tag of your repository using git-describe(1)
$ npm install --save git-latest-tag
var getLatestTag = require('git-latest-tag');
var options = {
all: 'ok',
contains: true,
candidates: 10,
'commit-ish': 'HEAD'
};
getLatestTag(options, function(err, tag) {
console.log(tag);
//=> latestTag
});
var getLatestTag = require('git-latest-tag');
var options = {
all: 'ok',
contains: true,
candidates: 10,
'commit-ish': 'HEAD'
};
getLatestTag(options)
.pipe(...);
Returns a readable stream.
Type: object or boolean
Options will be dash-cased for you.
Please check the available options at http://git-scm.com/docs/git-describe.
NOTE: if a flag takes no value and the passed options.value is truthy, it will generate the flag only without any value. If it's falsy the flag will not be included.
If it's a true, it will suppress long format, only showing the closest tag in refs/tags namespace and will return an empty string if there is no tags but more than one commit (same as { tags: true, abbrev: 0 }).
MIT © Steve Mao
FAQs
Get the most recent git tag of your repository using git-describe(1)
We found that git-latest-tag demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.