Get tags from a remote git repo
I'm using this successfully against GitHub repos, but the underlaying modules are not that actively maintained, so I wouldn't recommend using this for production critical code.
$ npm install --save remote-git-tags
const remoteGitTags = ;;
Promise<Map> with the Git tags as keys and their commit SHA as values.
Git repo URL.
MIT © Sindre Sorhus