count-git-tags
A tool to count the number of tags of a git repository
Installation
$ npm i count-git-tags --save
or
$ yarn add count-git-tags
Usage
const countGitTags = ; ; // the number of tags of a repo of process.cwd() ; // the number of tags of a repo in `path/to/repo` ; // the number of tags of a repo in `path/to/repo`, from the remote repository
LICENSE
MIT © Lukas Aichbauer