
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
latest-github-tag
Advanced tools
Fetch the latest tag name from a GitHub repo (promise-based)
latestTag('mhkeller', 'stable-tag').then(function (tag) {
console.log(tag) // Outputs v1.0.0
})
.catch(function (err) {
console.error(err)
})
Resolves to an error if a package has no tags.
You can pass an options object as an optional third argument. It can take the two keys:
auth — An authentication object that will be passed to the GitHub module's authenticate method.timeout — A value, in milliseconds, to wait for this call to be made. Defaults to 5000.latestTag('mhkeller', 'secret-repo', {
timeout: 0,
auth: {
type: 'oauth', // See https://github.com/mikedeboer/node-github#authentication for other types
token: 'your-access-token'
}
}).then(function (tag) {
console.log(tag) // Outputs the latest tag
})
.catch(function (err) {
console.error(err)
})
MIT
FAQs
Fetch the latest tag name from a GitHub repo (promise-based)
The npm package latest-github-tag receives a total of 1 weekly downloads. As such, latest-github-tag popularity was classified as not popular.
We found that latest-github-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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.