Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

418sec/node-count-git-tags

 
 

Repository files navigation

count-git-tags

A tool to count the number of tags of a git repository

Build Status Build status Coverage Status

Installation

$ npm i count-git-tags --save

or

$ yarn add count-git-tags

Usage

const countGitTags = require('count-git-tags');

countGitTags(); // the number of tags of a repo of process.cwd()

countGitTags({ path: 'path/to/repo' }); // the number of tags of a repo in `path/to/repo`

countGitTags({ path: 'path/to/repo', local: false }); // the number of tags of a repo in `path/to/repo`, from the remote repository

LICENSE

MIT © Lukas Aichbauer

About

A tool to count the number of tags of a git repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%