git-tag
Advanced tools
Weekly downloads
Readme
npm install git-tag
var gitTag = require('git-tag')({localOnly:true,dir:'/path/to/git/.git'})
gitTag.create('0.0.2015', 'just a message', function(res){
console.log(res) // >> 0.0.2015
})
gitTag.create('0.0.2015', 'just a message', function(err, res){
console.log(err, res) // >> null, 0.0.2015
})
gitTag.remove('0.0.2015', function(res){
console.log(res) // >> 0.0.2015
})
gitTag.remove('0.0.2015', function(err, res){
console.log(err, res) // >> null, 0.0.2015
})
gitTag.latest(function(res){
console.log(res) // >> 0.0.2015
})
gitTag.latest(function(err, res){
console.log(err, res) // >> null, 0.0.2015
})
gitTag.all(function(res){
console.log(res) // >> ['0.0.2015']
})
gitTag.all("--merged", function(err, res){
console.log(err, res) // >> null, ['0.0.2015']
})
npm test
FAQs
simply command 'git tag' wrapper
The npm package git-tag receives a total of 354 weekly downloads. As such, git-tag popularity was classified as not popular.
We found that git-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 installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.